0.0.2 • Published 8 years ago

marked-plaintext v0.0.2

Weekly downloads
1,029
License
ISC
Repository
github
Last release
8 years ago

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 }));