#46 Theory page formatting

Opened by vovanz on Dec 20, 2021, 5:51 PM
// vovanz on Dec 20, 2021, 5:51 PM

Every mathematical formula on the theory page is enclosed in dollar signs which makes it really hard to read.

If this syntax is supposed to be rendered somehow, it doesn’t work, for me at least (Firefox 95.0.1 on Linux).

Maybe this syntax should be removed or replaced by something else?

// AfoHT on Dec 25, 2021, 10:00 PM

It is supposed to be rendered with mdbook-katex

Which it does nicely when I’ve built the book locally, assuming

cargo install mdbook-katex mdbook

followed by

mdbook serve

Maybe mdbook-katex was missing when docs were generated?

// cherryblossom000 on Jan 20, 2022, 12:24 AM

Looking at the docs for mdbook-katex it looks like you the following needs to be added to book.toml:

[output.katex]