-
Notifications
You must be signed in to change notification settings - Fork 30k
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: use same link color in linked code blocks as in regular text links #4068
Conversation
I like the change, but wouldn't a |
Yeah that would also do it, if one prefers an override rule over the |
Yeah, I think it's best to avoid |
Updated and force pushed :) |
Doesn't work here, looks like we need to increase specificity of that style. The options are a code {
color: inherit !important;
} #apicontent a code {
color: inherit;
} I think the first option is the way to go in case the container id ever changes, but I'll leave that up to you :) |
Oh wait, it's working correctly. I live edited the wrong stylesheet so my rule came before the LGTM |
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Thanks! Landed in f4f1e89. |
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: #4068 Reviewed-By: Roman Reiss <[email protected]>
Links nested in backticks were not visually distinguishable before, this fixes them. PR-URL: nodejs#4068 Reviewed-By: Roman Reiss <[email protected]>
Currently there's no way in the docs to visually distinguish a link in a code block from a non-linked code block.
This is how linked code blocks are styled today...
...and this is how linked code blocks are styled with this commit applied...