git.iko.soy/typeable/pandoc
on master help sign in
doc/using-the-pandoc-api.md: proofread (minor)
commitda1e626500e1caba50cdbb8faa728614e3e3e0fe authorKolen Cheung <christian.kolen@gmail.com> dateThu 26 Oct 2017, 18:16 (9 years ago) parent0e47094
1 file changed+3−3
doc/using-the-pandoc-api.md+3−3
doc/using-the-pandoc-api.md+3−3
@@ -21,7 +21,7 @@ Pictorially:
2121[input format] ==reader==> [Pandoc AST] ==writer==> [output format]
2222```
2323
24−This architecture allows pandoc to perform $M \times n$
24+This architecture allows pandoc to perform $M \times N$
2525conversions with $M$ readers and $N$ writers.
2626
2727The Pandoc AST is defined in the
@@ -313,10 +313,10 @@ Note that this looks first in the
313313users to override the system defaults. If you want to disable
314314this behavior, use `setUserDataDir Nothing`.
315315
316−To render a template, use `renderTemplate'`, which takes two
316+To render a template, use `renderTemplate`, which takes two
317317arguments, a template (String) and a context (any instance
318318of ToJSON). If you want to create a context from the metadata
319−part of a Pandoc document, use `metaToJSON'` from
319+part of a Pandoc document, use `metaToJSON` from
320320[Text.Pandoc.Writers.Shared]. If you also want to incorporate
321321values from variables, use `metaToJSON` instead, and make sure
322322`writerVariables` is set in `WriterOptions`.