Skip to content

markup/pandoc: Support pandoc 3.11 and laterΒ #15271

Closed

Description

@iGormilhit

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

  1. jmooring commented on Sep 2, 2026

    @jmooring
    Member

    Implementation note: use --dump-args to test flag validity, e.g.:

    pandoc --math-method=mathjax --dump-args
    echo $? # 0 (success)
    
    pandoc --foo --dump-args
    echo $? # 6 (failure)
    

    That's easier and more definitive than version comparisons.

  2. changed the title [-]Warning with Pandoc markup for --mathjax option[/-] [+]markup/pandoc: Support pandoc 3.11 and later[/+] on Sep 3, 2026
  3. self-assigned this
    on Sep 3, 2026
  4. added 2 commits that reference this issue on Sep 3, 2026
    ac98fdf
    3da6f77
  5. added a commit that references this issue on Sep 4, 2026
    423e9ce
  6. github-actions commented on Sep 26, 2026

    @github-actions

    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.

  7. locked as resolved and limited conversation to collaborators on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions