From d2449ad92642a5ba380979192029600a4f3e4424 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 16 Sep 2021 19:27:34 -0700 Subject: HTML writer: set "hash" to True by default (for reveal.js). Closes #7574. See #6968 where the motivation for setting "hash" to True is explained. --- src/Text/Pandoc/Writers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index c96d4622a..3592bd2d4 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -367,7 +367,7 @@ pandocToHtml opts (Pandoc meta blocks) = do defField "slideNumber" False . defField "showSlideNumber" ("all" :: Text) . defField "hashOneBasedIndex" False . - defField "hash" False . + defField "hash" True . defField "respondToHashChanges" True . defField "history" False . defField "keyboard" True . -- cgit v1.2.3