Y
Hacker News
new
|
ask
|
show
|
jobs
by
habosa
867 days ago
Does anyone know of a good open source syntax highlighting library for Vue SFC? That’s my biggest issue with the file format (I maintain a code review tool)
2 comments
taskylizard
866 days ago
Shiki (
https://shiki.style
) might be good enough for your usecase, use the latest beta versions as it's the new fresh esm rewrite.
link
simlevesque
867 days ago
You could look at the Vue SFC Playground's code, seems like this does what you want using monaco:
https://play.vuejs.org/
link