# markdown-it-hashmention

> Flowdock hashtag and mention parser for markdown-it

Latest version **0.3.9** (published 2016-07-05) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.9 |
| Published | 2016-07-05 |
| First published | 2016-07-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Ville Lautanala |
| Maintainers | ile |
| Keywords | markdown-it-plugin, markdown-it, flowdock |

## Links

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

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

- 0.3.9 (latest) — 2016-07-05
- 0.3.8 — 2016-07-04

## README

# markdown-it-hashmention

[![Build Status](https://travis-ci.org/flowdock/markdown-it-flowdock.svg)](https://travis-ci.org/flowdock/markdown-it-flowdock)

> hashtag (`#tag`), mentions (`@user`) plugin for [markdown-it](https://github.com/markdown-it/markdown-it) markdown parser.

* `@user` => `<a class="mention">@user</a>`
* `#hashtag` => `<a class="hashtag">#hashtag</a>`

## Install

node.js:

```bash
npm install markdown-it-hashmention --save
```

```js
var md = require('markdown-it')().use(require('markdown-it-hashmention'));
md.render('Test #hahstag @user'); // => 'Test <a class="hashtag">#hashtag</a> <a class="mention">@user</a>'
```

## Tests

Tests are run with npm:

```bash
npm install
npm test
```

## Credits

This is forked from https://github.com/flowdock/markdown-it-flowdock, only url autolinking removed.

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