Skip to content

Commit

Permalink
Minor change on code highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
yangpiao committed Apr 19, 2014
1 parent e056839 commit 4e033af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/markdown-parser.js
Expand Up @@ -12,7 +12,7 @@ var fs = require('fs'),

marked.setOptions({
highlight: function(code, lang) {
if (!hljs.getLanguage(lang)) return hljs.highlightAuto(code).value;
if (!hljs.getLanguage(lang)) return code; //hljs.highlightAuto(code).value;
else return hljs.highlight(lang, code).value;
}
});
Expand Down

0 comments on commit 4e033af

Please sign in to comment.