marked-stream
Simple stream that takes a file path and returns a stream of html using
marked
. Contains sane defaults and highlighting with
node-pygmentize-bundled
.
Example
var path = ; var markedStream = ; var example = path; //// You can also pass in `marked` options as second argument//var stream = ; stream; stream
With the following input:
# Example Here is an example Markdown file to use for the test ## Hello There
The previous example outputs the following:
ExampleHere is an example Markdown file to use for the testHello There
Test
npm test
License
MIT