docs.rs failed to build katex-doc-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
katex-doc-0.1.0
Utilizing the html injection feature of rustdoc,
we can enable the use of $\KaTeX
$ in documentation!
For inline math, use $`1+1`$
, which renders as $1+1
$.
For display math, use:
```math
f(x) = \int_{-\infty}^\infty
\hat f(\xi)\,e^{2 \pi i \xi x}
\,d\xi
```
(example taken from https://khan.github.io/KaTeX/), which renders as:
f(x) = \int_{-\infty}^\infty
\hat f(\xi)\,e^{2 \pi i \xi x}
\,d\xi
To enable this on docs.rs, you need to add the following to your Cargo.toml:
[]
= [
"--html-in-header",
".cargo/registry/src/github.com-???/katex-doc-0.0.0/katex.html",
]