# markdown-it-source-map

> Add source map to the output HTML of markdown-it.

Latest version **0.1.1** (published 2017-03-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-it-source-map
pnpm add markdown-it-source-map
yarn add markdown-it-source-map
bun add markdown-it-source-map
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-03-02 |
| First published | 2017-02-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/markdown-it-source-map) |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Tyler Long |
| Maintainers | tylerlong |

## Links

- npm: https://www.npmjs.com/package/markdown-it-source-map
- Repository: https://github.com/tylingsoft/markdown-it-source-map
- Homepage: https://github.com/tylingsoft/markdown-it-source-map#readme
- Issues: https://github.com/tylingsoft/markdown-it-source-map/issues
- npm.io page: https://npm.io/package/markdown-it-source-map

## Recent versions

- 0.1.1 (latest) — 2017-03-02
- 0.1.0 — 2017-02-21

## 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') // <h1 data-source-line="1">hello world</h1>
```


## develop

```
yarn build
yarn test
```

---
_Source: https://npm.io/package/markdown-it-source-map · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
