v1.+ requires markdown-it
v4.+, see changelog.
[[relative link]]
=> <a href="http://myprefix/relative-link">relative link</a>
node.js, browser:
npm install markdown-it-relativelink --save
bower install markdown-it-relativelink --save
var md = require('markdown-it')()
.use(require('markdown-it-relativelink')({
prefix: 'http://example.com/'
}));
md.render('[[link]]') // => '<p><a href="http://example.com/link">link</a></p>'