-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: enable visual code indication in headers #31493
Conversation
“indicatino”? 😁 |
8af4171
to
fedb59f
Compare
Commit message fixed. Thanks! |
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.
We don't also want to make the code text monospaced?
Yes, next PR if someone else doesn't beat me to it. I'm doing one self-contained small change at a time because nothing terrifies me more than CSS. |
@@ -33,7 +33,6 @@ h3, h3 code, | |||
h4, h4 code, | |||
h5, h5 code, | |||
h6, h6 code { | |||
background-color: inherit; | |||
color: inherit; | |||
font-family: inherit; |
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.
font-family: inherit; |
Just delete this line and it should use the monospaced font.
I'd say first move with #31492 |
The we'd just need to remove 2 properties from one selector without having to worry about breaking other stuff :) |
This enables the grey background for inline code in headers. Refs: nodejs#31460 (comment) PR-URL: nodejs#31493 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
fedb59f
to
97ac661
Compare
Landed in 97ac661 |
This enables the grey background for inline code in headers. Refs: #31460 (comment) PR-URL: #31493 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
This enables the grey background for inline code in headers. Refs: #31460 (comment) PR-URL: #31493 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
This enables the grey background for inline code in headers. Refs: #31460 (comment) PR-URL: #31493 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Geoffrey Booth <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
This enables the grey background for inline code in headers.
Refs: #31460 (comment)
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes