https://github.com/tylingsoft/markdown-it-source-map
Add source map to the output HTML of markdown-it.
https://github.com/tylingsoft/markdown-it-source-map
Last synced: 9 months ago
JSON representation
Add source map to the output HTML of markdown-it.
- Host: GitHub
- URL: https://github.com/tylingsoft/markdown-it-source-map
- Owner: tylingsoft
- Created: 2017-02-21T13:22:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-02T15:18:40.000Z (over 9 years ago)
- Last Synced: 2025-03-28T07:16:40.296Z (over 1 year ago)
- Language: JavaScript
- Size: 85 KB
- Stars: 16
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# markdown-it-source-map
Add source map to the output HTML of [markdown-it](https://github.com/markdown-it/markdown-it).
## install
```
yarn add markdown-it-source-map
```
## usage
```JavaScript
import markdownIt from 'markdown-it'
import markdownItSourceMap from 'markdown-it-source-map'
const mdi = markdownIt()
mdi.use(markdownItSourceMap)
mdi.render('# hello world') //
hello world
```
## develop
```
yarn build
yarn test
```