You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
markup/pandoc: Support pandoc 3.11 and laterΒ #15271
What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.165.0+extended+withdeploy linux/amd64 BuildDate=unknown
Does this issue reproduce with the latest release?
Yes.
The issue
When building my website with hugo, I get the following warning for content that use the Pandoc markup:
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
Pandoc on my system (Arch) is on the latest version (3.11). In this version release notes, one can read:
Add --math-method option. This replaces (now deprecated but still functional) options --mathml, --mathjax, --gladtex, --katex, --webtex. The plain style can now be specified explicitly. In defaults files, html-math-method is now math-method (though html-math-method will still work).
This is not quite an issue, as everything works fine.
Activity
jmooring commentedon Sep 2, 2026
Implementation note: use
--dump-argsto test flag validity, e.g.:That's easier and more definitive than version comparisons.
[-]Warning with Pandoc markup for --mathjax option[/-][+]markup/pandoc: Support pandoc 3.11 and later[/+]markup/pandoc: Support pandoc 3.11 and later
markup/pandoc: Support pandoc 3.11 and later
markup/pandoc: Support pandoc 3.11 and later
github-actions commentedon Sep 26, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.