Skip to content

shift-heading-level-by vs reference-section-title #9664

Answered by jgm
p3palazzo asked this question in Q&A
Discussion options

You must be logged in to vote

That's right. --shift-heading-level-by is implemented as a "transform" in https://github.com/jgm/pandoc/blob/main/src/Text/Pandoc/App.hs#L296-L309.
(The other "transforms" are handlers for east_asian_line_breaks and ipynb output.) Currently the transforms are applied right before filters (and thus before citeproc). I think it probably makes sense to move the transforms after the filters. @tarleb can you think of anything this would break?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by p3palazzo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants