# markdown-it-span

> tag for markdown-it markdown parser.

Latest version **1.0.0** (published 2018-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-it-span
pnpm add markdown-it-span
yarn add markdown-it-span
bun add markdown-it-span
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-04-13 |
| First published | 2018-04-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 12.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Paul Newell |
| Maintainers | pnewell |
| Keywords | markdown-it-plugin, markdown-it, markdown, span |

## Links

- npm: https://www.npmjs.com/package/markdown-it-span
- Repository: https://github.com/pnewell/markdown-it-span
- Issues: https://github.com/pnewell/markdown-it-span/issues
- npm.io page: https://npm.io/package/markdown-it-span

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-04-13

## README

# markdown-it-span

[![Build Status](https://img.shields.io/travis/pnewell/markdown-it-span/master.svg?style=flat)](https://travis-ci.org/pnewell/markdown-it-span)
[![NPM version](https://img.shields.io/npm/v/markdown-it-span.svg?style=flat)](https://www.npmjs.org/package/markdown-it-span)
[![Coverage Status](https://img.shields.io/coveralls/pnewell/markdown-it-span/master.svg?style=flat)](https://coveralls.io/r/pnewell/markdown-it-span?branch=master)

> `<span>` tag plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.

__v2.+ requires `markdown-it` v5.+, see changelog.__

`::spanned::` => `<span>spanned</span>`

Markup uses the same conditions as CommonMark [emphasis](http://spec.commonmark.org/0.15/#emphasis-and-strong-emphasis).


## Install

node.js, browser:

```bash
npm install markdown-it-span --save
bower install markdown-it-span --save
```

## Use

```js
var md = require('markdown-it')()
            .use(require('markdown-it-span'));

md.render('::spanned::') // => '<p><span>spanned</span></p>'
```

_Differences in browser._ If you load script directly into the page, without
package system, module will add itself globally as `window.markdownitSpan`.


## License

[MIT](https://github.com/pnewell/markdown-it-span/blob/master/LICENSE)

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