markdown-it-latex
Plugin for markdown-it, supports KaTex and AsciiMath.
Installation
yarn install markdown-it-latex
Usage
for node.js
const mdi = mdimdimdimdimdi
for browser
You also need to import the css:
Or you can add the css to the web page directly.
Development
Build
yarn build:watch
Test
yarn test
Distribution
yarn release && npm publish