Skip to content

Commit

Permalink
Bump highlight.js
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriangalliat committed Sep 25, 2020
1 parent 1c44695 commit d06fce1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function inlineCodeRenderer (tokens, idx, options) {
}

const highlighted = options.highlight(code.content, lang)
const cls = lang ? ` class="${options.langPrefix + lang}"` : ''
const cls = lang ? ` class="${options.langPrefix}${lang}"` : ''

return `<code${cls}>${highlighted}</code>`
}
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"test": "npm run lint && node test"
},
"dependencies": {
"highlight.js": "^10.1.1",
"highlight.js": "^10.2.0",
"lodash.flow": "^3.5.0"
},
"devDependencies": {
Expand Down

0 comments on commit d06fce1

Please sign in to comment.