marked-plaintext
v0.0.2
Published
Plain text renderer for Marked
Downloads
6,933
Maintainers
Readme
A plain text renderer for Marked. Strips out all formatting, useful for generating meta tags or preview snippets.
Usage:
marked = require('marked');
PlainTextRenderer = require('marked-plaintext');
renderer = new PlainTextRenderer;
console.log(marked('Your *markdown* text', { renderer: renderer }));