Skip to content

Commit

Permalink
chore(syntax-highlight): highlight vue as markup (#8945)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth committed May 26, 2023
1 parent dcfcc83 commit a01c650
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/syntax-highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ const loadAllLanguages = lazy(() => {
// Prism expects. It'd be hard to require that content writers
// have to stick to the exact naming conventions that Prism uses
// because Prism is an implementation detail.
const ALIASES = new Map([["sh", "shell"]]);
const ALIASES = new Map([
["sh", "shell"],
["vue", "markup"], // See https://github.com/PrismJS/prism/issues/1665#issuecomment-536529608
]);

// Over the years we have accumulated some weird <pre> tags whose
// brush is more or less "junk".
Expand Down

0 comments on commit a01c650

Please sign in to comment.