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 and adamschwartz committed Oct 29, 2020
1 parent a7cbedb commit 403c2fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/mdx/custom-syntax-highlighting.js
@@ -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 403c2fc

Please sign in to comment.