# Building Julia documentation using Typst

**URL:** https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498
**Category:** Internals & Design
**Tags:** documenter
**Created:** [April 15, 2023, 12:03am UTC](https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498 "2023-04-15T00:03:43Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)
#### Post date: [April 20, 2023, 7:38am UTC](https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498/21 "2023-04-20T07:38:27Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![tecosaur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tecosaur/32/23206_2.png) [@tecosaur](https://discourse.julialang.org/u/tecosaur)
#### Post date: [April 20, 2023, 7:48am UTC](https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498/22 "2023-04-20T07:48:50Z")

</div>

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`.

---

<div class="post-metadata">

### Author: ![fingolfin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fingolfin/32/6033_2.png) [@fingolfin](https://discourse.julialang.org/u/fingolfin)
#### Post date: [April 20, 2023, 12:50pm UTC](https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498/23 "2023-04-20T12:50:23Z")

</div>

There definitely is interest. See also [Nicer rendering of LaTeX formulas in docstrings on the REPL · Issue #41915 · JuliaLang/julia · GitHub](https://github.com/JuliaLang/julia/issues/41915)

[Previous page](https://discourse.julialang.org/t/building-julia-documentation-using-typst/97498.md?page=1)
