My blog’s markdown tools

I'm using marked and highlight in my blog.

Below is how to use:


var marked = require('marked');
marked.setOptions({
    highlight: function (code) {
        return require('highlight.js').highlightAuto(code).value;
    }
});


var result = marked("markdown content");

WRITTEN BY:    Suntabu