[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2023-06-08 13:46 -  
[DIR]src/2023-06-08 13:46 -  
[   ]yarn.lock2023-06-08 13:46 139K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]webpack.config.js2023-06-08 13:46 622 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2023-06-08 13:46 1.9K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2023-06-08 13:46 472 0fb859dc fixed mobile overflwo options [كارل مبارك]
# 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') // <h1 data-source-line="1">hello world</h1>
```


## develop

```
yarn build
yarn test
```