Skip to content

Conversation

@bluegate010
Copy link
Contributor

If there's no code blocks, Pandoc does not inject any definition for the Shaded or Highlighting environments, and \renewenvironment{Shaded} fails to compile.

This change gates all code-block-related definitions behind $if(highlighting-macros)$.

If there's no code blocks, Pandoc does not inject any definition for
the Shaded or Highlighting environments, and `\renewenvironment{Shaded}`
fails to compile.

This change gates all code-block-related definitions behind
`$if(highlighting-macros)$`.
@chrisfenner chrisfenner merged commit a2528ae into main Aug 12, 2025
2 checks passed
@bluegate010 bluegate010 deleted the tex-fix branch August 13, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants