diff options
| author | Michael Williamson <mike@zwobble.org> | 2021-10-19 20:49:52 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2021-10-19 20:49:52 +0100 |
| commit | 47f27abda77e15faec56cd8e215d3156a36aca1d (patch) | |
| tree | 984b0d5c48bfde7e156b86eac0fe31a2cbe30ff1 | |
| parent | ebe0434a6eb0d43b92129cef7a59cb58a3f11cb7 (diff) | |
Add "courier new" as monospace font
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -544,7 +544,7 @@ var options = { Or if you want paragraphs that have been explicitly set to use monospace fonts to represent code: ```javascript -const monospaceFonts = ["consolas", "courier"]; +const monospaceFonts = ["consolas", "courier", "courier new"]; function transformParagraph(paragraph) { var runs = mammoth.transforms.getDescendantsOfType(paragraph, "run"); |
