diff options
| author | Michael Williamson <mike@zwobble.org> | 2021-10-19 20:49:03 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2021-10-19 20:50:43 +0100 |
| commit | 99c7febea7b5ecbf52393f586839cf3b72190d01 (patch) | |
| tree | 3a3d3baac8df2e298c695690ea5732c347e6c2ba | |
| parent | e8f71fc40b74e613c1737bf499076a0fc750283a (diff) | |
Make monospace font list consistent with mammoth.js
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -419,7 +419,7 @@ Or if you want paragraphs that have been explicitly set to use monospace fonts t import mammoth.documents import mammoth.transforms -_monospace_fonts = set(["courier new"]) +_monospace_fonts = set(["consolas", "courier", "courier new"]) def transform_paragraph(paragraph): runs = mammoth.transforms.get_descendants_of_type(paragraph, mammoth.documents.Run) |
