Use Ext_gfm_auto_identifiers (github-flavored) and Ext_implicit_header_references

This commit is contained in:
Robert Pearce 2020-10-21 03:59:05 -04:00
parent 4001a928a2
commit 36d8b12862
No known key found for this signature in database
GPG Key ID: 07A0E482E5616C9B
1 changed files with 4 additions and 3 deletions

View File

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