0.0.2 • Published 8 years ago
marked-plaintext v0.0.2
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 }));