https://github.com/markedjs/marked-extension-template
A simple marked extension template
https://github.com/markedjs/marked-extension-template
Last synced: 8 months ago
JSON representation
A simple marked extension template
- Host: GitHub
- URL: https://github.com/markedjs/marked-extension-template
- Owner: markedjs
- License: mit
- Created: 2021-05-13T07:18:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T01:00:42.000Z (9 months ago)
- Last Synced: 2025-04-29T01:46:07.673Z (9 months ago)
- Language: JavaScript
- Size: 7.21 MB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TODO:
- [ ] Replace information in `/README.md`
- [ ] Replace name in `/rollup.config.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 UMD script
//
//
const options = {
// |default options|
};
marked.use(|thisExtension|(options));
marked.parse("|example markdown|");
//
|example html|
```
## `options`