As The last ship sailed towards the distant horizon I sat there watching on a rock My mind slowly drifting away Forming into my... Dreamtale
My blog’s markdown tools
2019-03-10 / 1 min read

I'm using marked and highlight in my blog.

Below is how to use:

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

var result = marked("markdown content");