Skip to content

Commit

Permalink
feat($theme-default): add ruby shortcut support for syntax highlighti…
Browse files Browse the repository at this point in the history
…ng (#1312)
  • Loading branch information
fabioaanthony authored and ulivz committed Feb 19, 2019
1 parent 0d56a99 commit dad2928
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@vuepress/markdown/lib/highlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module.exports = (str, lang) => {
if (lang === 'md') {
lang = 'markdown'
}
if (lang === 'rb') {
lang = 'ruby'
}
if (lang === 'ts') {
lang = 'typescript'
}
Expand Down

0 comments on commit dad2928

Please sign in to comment.