summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKolen Cheung <christian.kolen@gmail.com>2017-10-26 18:16:12 -0700
committerKolen Cheung <christian.kolen@gmail.com>2017-10-26 18:16:12 -0700
commitda1e626500e1caba50cdbb8faa728614e3e3e0fe (patch)
treeba96a57964ae2a9d7752b68990937c46c099528e /doc
parent0e47094f8298d45c436e9438ec2b9f62eb565765 (diff)
doc/using-the-pandoc-api.md: proofread (minor)
Diffstat (limited to 'doc')
-rw-r--r--doc/using-the-pandoc-api.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/using-the-pandoc-api.md b/doc/using-the-pandoc-api.md
index 8eb34d091..0caae977b 100644
--- a/doc/using-the-pandoc-api.md
+++ b/doc/using-the-pandoc-api.md
@@ -21,7 +21,7 @@ Pictorially:
[input format] ==reader==> [Pandoc AST] ==writer==> [output format]
```
-This architecture allows pandoc to perform $M \times n$
+This architecture allows pandoc to perform $M \times N$
conversions with $M$ readers and $N$ writers.
The Pandoc AST is defined in the
@@ -313,10 +313,10 @@ Note that this looks first in the
users to override the system defaults. If you want to disable
this behavior, use `setUserDataDir Nothing`.
-To render a template, use `renderTemplate'`, which takes two
+To render a template, use `renderTemplate`, which takes two
arguments, a template (String) and a context (any instance
of ToJSON). If you want to create a context from the metadata
-part of a Pandoc document, use `metaToJSON'` from
+part of a Pandoc document, use `metaToJSON` from
[Text.Pandoc.Writers.Shared]. If you also want to incorporate
values from variables, use `metaToJSON` instead, and make sure
`writerVariables` is set in `WriterOptions`.