storch icon indicating copy to clipboard operation
storch copied to clipboard

Render mathematical expressions in docs

Open sbrunk opened this issue 2 years ago • 1 comments

We want to be able to render math expression in our docs (Scaladoc as well as Laika docs), like PyTorch does with MathJax:

image

For Scaladoc there is an open issue already https://github.com/lampepfl/dotty/issues/15433 but I haven't gotten around to work on it yet. For Laika it should be easier as we control the template so we could try to embed MathJax or Katex there.

sbrunk avatar Jan 22 '23 16:01 sbrunk

Done for Laika (introductory docs) in #12 with KaTeX, but still needs to be done for Scaladoc.

sbrunk avatar Feb 06 '23 22:02 sbrunk