Merge pull request #6552 from favonia/patch-1

Update using-the-pandoc-api.md
This commit is contained in:
John MacFarlane 2020-07-22 11:16:24 -07:00 committed by GitHub
commit 3bccc08f6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -177,7 +177,8 @@ Some particularly important options to know about:
1. `writerTemplate`: By default, this is `Nothing`, which
means that a document fragment will be produced. If you
want a full document, you need to specify `Just template`,
where `template` is a String containing the template's
where `template` is a `Template Text` from
[Text.Pandoc.Templates] containing the template's
contents (not the path).
2. `readerExtensions` and `writerExtensions`: These specify