markdown-strip-tags
v1.0.1
Published
Markdown strip tags module
Downloads
3
Readme
Markdown strip tags
Strip tags module for Markdown
Install
npm install markdown-strip-tags --save
Example
node
var md_strip_tags = require('markdown-strip-tags');
var text = "[email protected]";
var res = md_strip_tags(text);
console.log(res); // my\[email protected]
browser
<script src="markdown-strip-tags.js"></script>
<script>
var text = "[email protected]";
var res = md_strip_tags(text);
console.log(res); // my\[email protected]
</script>
Copylefts
Code originally written by Artur Atnagulov [email protected] under MIT License.