0.2.0 • Published 6 years ago

@quartzy/markdown-it-mentions v0.2.0

Weekly downloads
213
License
Apache-2.0
Repository
-
Last release
6 years ago

@quartzy/markdown-it-mentions

Latest Version on NPM Software License Build Status Total Downloads

A plugin for markdown-it that turns:

@[Freddie Mercury](mention://user/48249279)

into:

<span class="mention" data-type="user" data-id="48249279">Freddie Mercury</span>

Installation

yarn add @quartzy/markdown-it-mentions

Usage

import markdownitMentions from '@quartzy/markdown-it-mentions';

const md = markdownit().use(markdownitMentions);

Development

# Run tests
yarn test

# Build distributable
yarn build

# Build and watch for changes
yarn watch

Credits

License

The Apache License, v2.0. Please see License File for more information.