Browse Source

Readme: fix typo in highlight option (b27c6308)

pull/14/head
Denis Sokolov 10 years ago
parent
commit
9e417ea2b1
  1. 2
      README.md
  2. 2
      lib/configs/commonmark.js
  3. 2
      lib/configs/default.js
  4. 2
      lib/configs/full.js

2
README.md

@ -67,7 +67,7 @@ var md = new Remarkable({
// Highlighter function. Should return escaped HTML,
// or '' if the source string is not changed
highlight: function (/*str, , lang*/) { return ''; }
highlight: function (/*str, lang*/) { return ''; }
});
console.log(md.render('# Remarkable rulezz!'));

2
lib/configs/commonmark.js

@ -14,7 +14,7 @@ module.exports = {
// Highlighter function. Should return escaped HTML,
// or '' if input not changed
highlight: function (/*str, , lang*/) { return ''; },
highlight: function (/*str, lang*/) { return ''; },
maxNesting: 20 // Internal protection, recursion limit
},

2
lib/configs/default.js

@ -14,7 +14,7 @@ module.exports = {
// Highlighter function. Should return escaped HTML,
// or '' if input not changed
highlight: function (/*str, , lang*/) { return ''; },
highlight: function (/*str, lang*/) { return ''; },
maxNesting: 20 // Internal protection, recursion limit
},

2
lib/configs/full.js

@ -14,7 +14,7 @@ module.exports = {
// Highlighter function. Should return escaped HTML,
// or '' if input not changed
highlight: function (/*str, , lang*/) { return ''; },
highlight: function (/*str, lang*/) { return ''; },
maxNesting: 20 // Internal protection, recursion limit
},

Loading…
Cancel
Save