-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preview Code Syntax Highlighting #2471
Conversation
43024c2
to
f537d04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, other than some small things
Should be gtg! |
8e42b7f
to
4a1d3ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Bit of a pain that we have to import all languages explicitly but I think it makes sense for now to keep the bundle small.
Added highlight JS to format and syntax highlight code in the preview.
JS, JSON, CSS and YAML
. Can be used if other code filetypes are added.