diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-09-16 19:27:34 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-09-16 19:27:34 -0700 |
commit | d2449ad92642a5ba380979192029600a4f3e4424 (patch) | |
tree | f531e4be39dcab266f7b0f1726ab202f45f7019b /src/Text/Pandoc | |
parent | 71b82396a276899e0fc28bb26f213a038050fb9a (diff) | |
download | pandoc-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.hs | 2 |
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 . |