Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/can-dy-jack/marked-mathjax-extension

An mathjax extension for marked
https://github.com/can-dy-jack/marked-mathjax-extension

Last synced: 19 days ago
JSON representation

An mathjax extension for marked

Awesome Lists containing this project

README

        

# TODO:

- [ ] Replace information in `/README.md`
- [ ] Replace name in `/rollup.config.umd.js`
- [ ] Replace information in `/package.json`
- [ ] Write extension in `/src/index.js`
- [ ] Write tests in `/spec/index.test.js`
- [ ] Uncomment release in `/.github/workflows/main.yml`

# marked-|this-extension|

# Usage

```js
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|");
//

|example html|


```

## `options`