0.1.2 • Published 9 years ago

markdown-tags v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

markdown-tags

NPM version Build Status Coveralls Status Dependency Status

get tags from markdown article

Install

npm install --save markdown-tags

Usage

import markdownTags from 'markdown-tags';

const input = `
# Title

_November 5, 2015_

#nodejs, #markdown, #qwe-asd`;

markdownTags(input).tags; // ['nodejs', 'markdown', 'qwe-asd']
markdownTags(input).md;   // '#nodejs, #markdown, #qwe-asd'
markdownTags();           // undefined ¯\_(ツ)_/¯

API

markdownTags(input)

input

Required
Type: String

Markdown string.

Related

License

MIT © Vladimir Starkov

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago