| Conditions | 2 |
| Total Lines | 12 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | #!/usr/bin/env python |
||
| 56 | def prepare(doc): |
||
| 57 | """ |
||
| 58 | Prepare the pandoc document. |
||
| 59 | |||
| 60 | Arguments |
||
| 61 | --------- |
||
| 62 | doc |
||
| 63 | The pandoc document |
||
| 64 | """ |
||
| 65 | if doc.api_version < (1, 23): |
||
| 66 | debug( |
||
| 67 | f"[WARNING] pandoc-figure: pandoc api version " |
||
| 68 | f"{'.'.join(str(value) for value in doc.api_version)} " |
||
| 91 |