0.1.0 • Published 5 years ago
katex-document v0.1.0
katex-document
A useful JS application to render you .tex documents in the browser with beautiful Katex styling
Install
$ npm install --save katex-document
For React, to add the string response to a span/div:
<span
dangerouslySetInnerHTML={{ __html: katexDoc(string) }}
/>
Don't forget to put:
import "katex/dist/katex.min.css";
Or import from a CDN.