Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/can-dy-jack/marked-mathjax-extension
- Owner: can-dy-jack
- License: mit
- Created: 2022-10-26T13:11:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T00:09:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-27T20:17:58.933Z (2 months ago)
- Language: JavaScript
- Size: 392 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`