Skip to content

Added LaTeX support via MathJax#24

Draft
k-deeley wants to merge 6 commits into
masterfrom
11-latex-rendering-for-equations
Draft

Added LaTeX support via MathJax#24
k-deeley wants to merge 6 commits into
masterfrom
11-latex-rendering-for-equations

Conversation

@k-deeley
Copy link
Copy Markdown
Member

Closes #11

@k-deeley k-deeley requested a review from djmsampson May 28, 2026 15:34
@k-deeley k-deeley self-assigned this May 28, 2026
@k-deeley k-deeley linked an issue May 28, 2026 that may be closed by this pull request
@k-deeley k-deeley marked this pull request as draft May 28, 2026 17:46
@k-deeley
Copy link
Copy Markdown
Member Author

GitHub conversion looks good. GitLab conversion in progress.

@k-deeley
Copy link
Copy Markdown
Member Author

Currently testing GitLab support

@k-deeley
Copy link
Copy Markdown
Member Author

@ebenetce If you have time, please do some testing on this branch. Syntax will be:

mathScripts = fullfile(docmakerroot(), "resources", ["mathjax-config.js", "mathjax.js"]; docconvert("MyMarkdownWithLaTeX.md", "Scripts", mathScripts, "MathRenderer", "auto")

You can also test with "MathRenderer", "GitHub" or "GitLab" depending on which one you're using.

@k-deeley k-deeley requested a review from ebenetce May 29, 2026 08:45
@ebenetce
Copy link
Copy Markdown
Member

  • This file should be renamed to tex-mml-chtml.js, which what it actually is.
  • I don't think it should be included in the repo, we can pull it at build time if needed.
  • I would prefer if there was a name value pair to "include math" rather than pulling an internal script

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.

LaTeX rendering for equations

2 participants