aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2021-10-19 20:49:52 +0100
committerMichael Williamson <mike@zwobble.org>2021-10-19 20:49:52 +0100
commit47f27abda77e15faec56cd8e215d3156a36aca1d (patch)
tree984b0d5c48bfde7e156b86eac0fe31a2cbe30ff1 /README.md
parentebe0434a6eb0d43b92129cef7a59cb58a3f11cb7 (diff)
Add "courier new" as monospace font
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3e8d3a1..6c89bd4 100644
--- a/README.md
+++ b/README.md
@@ -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");