Skip to content

Conversation

@acmepjz
Copy link

@acmepjz acmepjz commented Jun 8, 2025

This PR adds two options MD_HTML_FLAG_MATHJAX and MD_HTML_FLAG_MATHJAX_USE_DOLLAR:

  • if MD_HTML_FLAG_MATHJAX is enabled, it will output \(, \), \[, \] instead of <x-equation> in html output;
  • if both of them are enabled, it will output $, $$ instead of <x-equation> in html output.

This makes mathjax works natively on such html output.

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.

1 participant