Building Julia documentation using Typst

How do you do that? Is it possible to apply some LaTeX-code-to-unicode processor to docstrings before they are printed in the terminal? Is it feasable to do this for everyone by default?

It’s just one of my unpublished packages. It overrides the LaTeX display method with some code that parses and then tries to unicode-render as much of the LaTeX as possible.

If there’s interest, I could turn this into a PR to the markdown stdlib later this year, I’ll just need to rewrite it to no longer use Automa.

7 Likes

There definitely is interest. See also Nicer rendering of LaTeX formulas in docstrings on the REPL · Issue #41915 · JuliaLang/julia · GitHub

2 Likes