aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-09-16 19:27:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-09-16 19:27:34 -0700
commitd2449ad92642a5ba380979192029600a4f3e4424 (patch)
treef531e4be39dcab266f7b0f1726ab202f45f7019b /src/Text/Pandoc
parent71b82396a276899e0fc28bb26f213a038050fb9a (diff)
downloadpandoc-d2449ad92642a5ba380979192029600a4f3e4424.tar.gz
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.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
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 .