mdzk-rs / mdzk

General-purpose interface to connected notes

Home Page:https://mdzk.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KaTeX done properly

kmaasrud opened this issue · comments

Our current KaTeX solution is wonky, since pulldown-cmark does not respect math delimiters. I would like to once again utilize the Event system to detect inline/display math (with $/$$ delimiters) and katex-rs for build-time rendering.

Version 0.4.1 of katex-rs supports the duktape JS engine (and even wasm-js, though I couldn't get that to work,) which should alleviate our cross-compilation issues.