1 unstable release

Uses old Rust 2015

0.1.0 Apr 21, 2018
0.0.2 Apr 21, 2018
0.0.1 Apr 21, 2018

#22 in #katex

Download history 11/week @ 2024-01-08 74/week @ 2024-01-15 28/week @ 2024-01-29 41/week @ 2024-02-19 49/week @ 2024-02-26 56/week @ 2024-03-04 34/week @ 2024-03-11 22/week @ 2024-03-18 54/week @ 2024-03-25 107/week @ 2024-04-01 15/week @ 2024-04-08 13/week @ 2024-04-15

190 downloads per month
Used in 4 crates (3 directly)

Unlicense OR MIT


XaaS: Use KaTeX on docs.rs!

Thanks to pwnies for bringing this method to where I noticed it. Technically relies on this bug in docs.rs. See the result on docs.rs!

Add the following to your Cargo.toml:

rustdoc-args = [

And use $`inline\ math`$ or

display-style\ math

If it so happens that that path does not always work (because this crate's build isn't in docs.rs cache), download katex.html from this repository, then put it at the root of your repository, include it in your publish, and replace the reference to katex-doc-ver.si.on with your crate.

For local documentation builds, acquire katex.html and use cargo rustdoc --open -- --html-in-header katex.html. If you know how to get cargo doc to set flags for rustdoc for just one crate when it's in the dependency graph, so that KaTeX-enabled docs can render properly when building docs as a dependency, please open an issue so we can document it.

No runtime deps