Skip to content

Feat/typst support - #1568

Open
cvanelteren wants to merge 2 commits into
mathjax:developfrom
cvanelteren:feat/typst-support
Open

cvanelteren wants to merge 2 commits into
mathjax:developfrom
cvanelteren:feat/typst-support

Conversation

@cvanelteren

Copy link
Copy Markdown

As it says on the tin

@dpvc

dpvc commented Sep 20, 2026

Copy link
Copy Markdown
Member

Thank you for the work you have put into this PR. I have only had a quick look, but will do a more formal review when time permits. I did bring this up in our developers' meeting this week, though we need to investigate it more closely to better understand your contribution.

One thing that we wondered is whether this might be something that would be better suited as part of the Typst community rather than MathJax itself. For example, while there are many MathJax plugins for various learning management systems and blogging software, we do not maintain (or even catalog) those; they are maintained by their respective communities. It might be that this input jax should be a third-party one that is made available through Typst rather than MathJax. The fact that you need to separately load Typst code to pass to MathJax makes it feel more natural that way to me.

In any case, that is something to consider. I will get back to you with more when I can.

@cvanelteren

Copy link
Copy Markdown
Author

@dpvc I see what you mean. The src that is imported is the webassembly stuff to interface with typst. I can see if I can add this to their repo in parallel. The implementation here complies with the interface that mathjax provides and is similar to Asciidoc's implementation.

@cvanelteren

Copy link
Copy Markdown
Author

Added a standalone here in the meantime for posterity: https://github.com/cvanelteren/mathjax-typst

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.

2 participants