Skip to content

Commit

Permalink
Alias vue mapping to HTML
Browse files Browse the repository at this point in the history
Prism doesn't have Vue SFC syntax highlighting (PrismJS/prism#1665) so we should alias it to the `html` syntax for the near future
  • Loading branch information
kristianfreeman authored Oct 29, 2020
1 parent a7cbedb commit ab817c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/mdx/custom-syntax-highlighting.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
export const languageMappings = {
"shell": "sh",
"javascript": "js",
"markup": "html"
"markup": "html",
"vue": "html"
}

export const prismLanguages = {
Expand Down

0 comments on commit ab817c7

Please sign in to comment.