From 36d8b1286297e4e06f44b33db0edfe9a2df27f88 Mon Sep 17 00:00:00 2001 From: Robert Pearce Date: Wed, 21 Oct 2020 03:59:05 -0400 Subject: [PATCH] Use Ext_gfm_auto_identifiers (github-flavored) and Ext_implicit_header_references --- generator/src/Main.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/generator/src/Main.hs b/generator/src/Main.hs index d308c33..e58d472 100644 --- a/generator/src/Main.hs +++ b/generator/src/Main.hs @@ -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 ]