An mathjax extension for marked
MIT License
/README.md
/rollup.config.umd.js
/package.json
/src/index.js
/spec/index.test.js
/.github/workflows/main.yml
import {marked} from "marked";
import |thisExtension| from "marked-|this-extension|";
// or ES Module script
// import marked from "https://cdn.jsdelivr.net/gh/markedjs/marked/lib/marked.esm.js";
// import |thisExtension| from "https://cdn.jsdelivr.net/gh/markedjs/marked-|this-extension|/lib/index.mjs";
const options = {
// |default options|
};
marked.use(|thisExtension|(options));
marked.parse("|example markdown|");
// <p>|example html|</p>
options