Fixed highlight.js example

This commit is contained in:
Chris Wren 2013-12-03 21:57:57 -08:00
parent dee9dc7bb1
commit e778ce03da

View File

@ -91,8 +91,8 @@ lang, and callback. The above example uses async highlighting with
```js ```js
marked.setOptions({ marked.setOptions({
highlight: function (code, lang) { highlight: function (code) {
return hljs.highlightAuto(lang, code).value; return hljs.highlightAuto(code).value;
} }
}); });
``` ```