Closed MordragT closed 1 year ago
@MordragT, how did you install mdbook-katex?
I am using the latest release in NixOS 0.2.10, should I be using git master ?
You have three options as of now that I know:
mdbook-katex
as specified in the README of this repository.mdbook-katex2
, which you can install without using the git master.Sadly the code is not displayed correctly, so ignoring the error message is not an option. For now I am just using the inbuilt mathjax support in mdbook which is fine for me, but when I find the time I will test both options.
If the builtin MathJax works for you, might as well use that so you have one less dependency. MathJax also provides more options than katex, such as rendering as SVG. The most noticeable downsides are the slower load time, and failure to restore to the position in the page when using mdbook's hot reload, which is the real killer for me.
It the problem solved for you?
Closing this issue as the original problem has been addressed. @MordragT, please open a new issue if anything else needs to be addressed.
Hey there thank you for creating this preprocessor, I am not able to get mdbook-katex working on NixOS
This is the output I am getting.
This does even happen on very simple input like $ 2 + 3 $