![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | test/ | 2023-06-08 13:46 | - | |
![]() | src/ | 2023-06-08 13:46 | - | |
![]() | yarn.lock | 2023-06-08 13:46 | 139K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | webpack.config.js | 2023-06-08 13:46 | 622 | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | package.json | 2023-06-08 13:46 | 1.9K | 0fb859dc fixed mobile overflwo options [كارل مبارك] |
![]() | README.md | 2023-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 ```