@quartzy/markdown-it-mentions
v0.2.0
Published
markdown-it plugin for mentions
Downloads
1,815
Readme
@quartzy/markdown-it-mentions
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.