diff --git a/src/gen/template-generator.js b/src/gen/template-generator.js index 2e5e00f..dfc4521 100644 --- a/src/gen/template-generator.js +++ b/src/gen/template-generator.js @@ -31,7 +31,9 @@ var _defaultOpts = { xml: function( txt ) { return XML(txt); }, md: function( txt ) { return MD(txt); }, mdin: function( txt ) { return MD(txt).replace(/^\s*\
|\<\/p\>\s*$/gi, ''); }, - lower: function( txt ) { return txt.toLowerCase(); } + lower: function( txt ) { return txt.toLowerCase(); }, + link: function( name, url ) { return url ? + '' + name + '' : name } }, prettify: { // ← See https://github.com/beautify-web/js-beautify#options indent_size: 2,