marked-plaintext

Plain text renderer for Marked

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
marked-plaintext
820.0.28 years ago9 years agoMinified + gzip package size for marked-plaintext in KB

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