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

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.

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
```