Skip to content

Commit

Permalink
feat(editor): add highlights to vue code block
Browse files Browse the repository at this point in the history
  • Loading branch information
purocean committed Jan 18, 2024
1 parent 3e0ff9b commit 36ddc84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/renderer/services/editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,8 @@ registerHook('MONACO_BEFORE_INIT', ({ monaco }) => {
lang.aliases?.push('node')
} else if (lang.id === 'shell') {
lang.aliases?.push('bash')
} else if (lang.id === 'html') {
lang.aliases?.push('vue')
}
})

Expand Down

1 comment on commit 36ddc84

@vercel
Copy link

@vercel vercel bot commented on 36ddc84 Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.