-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
doc: update hljs with the latest styles #52911
Conversation
Review requested:
|
@ovflowd I know you and that team are updating the docs, just want to make sure this wouldn't break anything |
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 !
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.
Can you add the missing semicolons? I don't really like this approach, I'd prefer much more using variables
(removing author-ready, as @aduh95 left comments without approval) I've made the requested changes in regards to the semicolons. I don't think variables will be effective here, as these stylings are from |
Just a FYI we're moving away from Highlight.js very soon to Shiki, so I honestly would recommend you to avoid spending calories on any API Docs-related changes... in general, as all these styles will be discarded. |
Landed in 29884d1 |
PR-URL: #52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
PR-URL: #52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
PR-URL: #52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
PR-URL: #52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
PR-URL: nodejs#52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
PR-URL: nodejs#52911 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Claudio Wunder <[email protected]>
This PR updates the hljs.css styling to use the latest styles (from the VSCode theme builtin to Highlight.js)
Dark:
Light: