Browse Source

Merge pull request #74 from denis-sokolov/patch-1

Readme: fix typo in highlight option (b27c6308)
pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
96a65ba9b0
  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