# markdown-code-hashtags

> Convert every `#hashtag` to a link.

Latest version **1.0.2** (published 2015-09-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-code-hashtags
pnpm add markdown-code-hashtags
yarn add markdown-code-hashtags
bun add markdown-code-hashtags
```

## 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.2 |
| Published | 2015-09-09 |
| First published | 2015-09-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | © 2015 Studio B12 GmbH |
| Maintainers | tomekwi |
| Keywords | markdown, hashtag |

## Links

- npm: https://www.npmjs.com/package/markdown-code-hashtags
- Repository: https://github.com/studio-b12/markdown-code-hashtags
- Homepage: https://github.com/studio-b12/markdown-code-hashtags#readme
- Issues: https://github.com/studio-b12/markdown-code-hashtags/issues
- npm.io page: https://npm.io/package/markdown-code-hashtags

## Dependencies (1)

- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^1.0.3

## 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.2 (latest) — 2015-09-09
- 1.0.1 — 2015-09-07
- 1.0.0 — 2015-09-03

## README

[![Coveralls – test coverage
](https://img.shields.io/coveralls/studio-b12/markdown-code-hashtags.svg?style=flat-square)
](https://coveralls.io/r/studio-b12/markdown-code-hashtags)
 [![Travis – build status
](https://img.shields.io/travis/studio-b12/markdown-code-hashtags/master.svg?style=flat-square)
](https://travis-ci.org/studio-b12/markdown-code-hashtags)
 [![David – status of dependencies
](https://img.shields.io/david/studio-b12/markdown-code-hashtags.svg?style=flat-square)
](https://david-dm.org/studio-b12/markdown-code-hashtags)
 [![Stability: stable
](https://img.shields.io/badge/stability-stable-brightgreen.svg?style=flat-square)
](https://nodejs.org/api/documentation.html#documentation_stability_index)
 [![Code style: airbnb
](https://img.shields.io/badge/code%20style-airbnb-777777.svg?style=flat-square)
](https://github.com/airbnb/javascript)




<div                                                         id="/">&nbsp;</div>

markdown-code-hashtags
======================

**Convert every [`#hashtag`](#hashtag) to a link.**

Helpful when writing docs in markdown.




<p align="center"><a
  title="Graphic by the great Justin Mezzell"
  href="http://justinmezzell.tumblr.com/post/93139322653"
  >
  <br/>
  <br/>
  <img
    src="Readme/Globe.gif"
    width="400"
    height="300"
  />
  <br/>
  <br/>
</a></p>




<div                                             id="/installation">&nbsp;</div>

Installation
------------

```sh
$ npm install markdown-code-hashtags
```




<d                                  id="/usage"><a id="hashtag"></a>&nbsp;</div>

Usage
-----

```js
const hashtags = require('markdown-code-hashtags');

hashtags(
  'Look! A `#hashtag`!'
);
//» 'Look! A [`#hashtag`](#hashtag)!'
```

You can also configure the thing:

```js
const hashtags = require('markdown-code-hashtags').custom;

hashtags({hash: '@', swallow: true, urlBase: '/custom/'},
  'Got a different `@link` here.'
);
//» 'Got a different [`link`](/custom/link) here.'
```




<div                                                 id="/see-also">&nbsp;</div>

See also
--------

* **[erase](http://npm.im/erase)** – Remove part of a markdown/HTML document.




<div                                                  id="/license">&nbsp;</div>

License
-------

[MIT][] © [Studio B12 GmbH][]

[MIT]:              ./License.md
[Studio B12 GmbH]:  http://studio-b12.de

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