Skip to content

Commit

Permalink
Merge pull request #74 from denis-sokolov/patch-1
Browse files Browse the repository at this point in the history
Readme: fix typo in highlight option (b27c630)
  • Loading branch information
Vitaly Puzrin committed Oct 28, 2014
2 parents f30bb0d + 9e417ea commit 96a65ba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!'));
Expand Down
2 changes: 1 addition & 1 deletion lib/configs/commonmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion lib/configs/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down
2 changes: 1 addition & 1 deletion lib/configs/full.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 96a65ba

Please sign in to comment.