Skip to content

itpatrol/markdown-it-flowdock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown-it-flowdock

Build Status

flowdock hashtag (#tag), mentions (@user) and relaxed autolink plugin for markdown-it markdown parser.

  • @user => <a class="mention">@user</a>
  • #hashtag => <a class="hashtag">#hashtag</a>
  • https://github.com/flowdock/markdown-it-flowdock => <a href="https://github.com/flowdock/markdown-it-flowdock">https://github.com/flowdock/markdown-it-flowdock</a>

Install

node.js:

npm install markdown-it-flowdock --save
var md = require('markdown-it')().use(require('markdown-it-flowdock'));
md.render('Test #hahstag @user'); // => 'Test <a class="hashtag">#hashtag</a> <a class="mention">@user</a>'

Tests

Tests are run with npm:

npm install
npm test

About

flowdock #hashtags and @mentions plugin for markdown-it

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%