Merge pull request #3 from rpearce/generator/pandoc-updates

Use Ext_gfm_auto_identifiers (github-flavored) and Ext_implicit_header_references
This commit is contained in:
Robert Pearce 2020-10-21 04:07:34 -04:00 committed by GitHub
commit 42dcf57923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@ import qualified Data.Text as T
import Hakyll
import Slug (toSlug)
import Text.Pandoc
( Extension (Ext_auto_identifiers, Ext_fenced_code_attributes, Ext_footnotes, Ext_smart),
( Extension (Ext_fenced_code_attributes, Ext_footnotes, Ext_gfm_auto_identifiers, Ext_implicit_header_references, Ext_smart),
Extensions,
ReaderOptions,
WriterOptions,
@ -143,8 +143,9 @@ pandocExtensionsCustom :: Extensions
pandocExtensionsCustom =
githubMarkdownExtensions
<> extensionsFromList
[ Ext_auto_identifiers,
Ext_fenced_code_attributes,
[ Ext_fenced_code_attributes,
Ext_gfm_auto_identifiers,
Ext_implicit_header_references,
Ext_smart,
Ext_footnotes
]