summaryrefslogtreecommitdiff
path: root/pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-12-20 17:10:20 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2022-12-20 18:21:16 +0100
commitc954dfab59fd1d93a838e4023c9f365280e63b30 (patch)
treef08836689df4d4fd8f7408ca919768c1df053506 /pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs
parent98667b7b2fe89b54296667bed3b260131041adda (diff)
Markdown writer: avoid HTML fallbacks in the generated TOC.
The generated table of contents usually has IDs for each TOC link, allowing to link back to specific parts of the TOC. However, this leads to unidiomatic markup in formats like gfm, which do not support attributes on links and hence fall back to HTML. The IDs on TOC items are now removed in that case, leading to more aesthetic TOCs. Closes: #8131
Diffstat (limited to 'pandoc-lua-engine/src/Text/Pandoc/Lua/Module/Utils.hs')
0 files changed, 0 insertions, 0 deletions