-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Remove padding when code spans/code link spans are adjacent #62867
Comments
There was a reason for this. I'll check why. |
I've got an idea on how to fix. Let's put it to try! |
Won't work, CSS is too limited for that. The only solution I see currently would be to be able to detect that code tags are following each others and merging them as one. |
Here is how I currently work around this in Syn (without merging code tags): |
That's something! 🤣 |
I had an idea on how to implement this in #80733 (comment). I think I might try doing that. |
I used
in some crates documentation which renders as
There is currently a
0.1em
padding applied inside all code spans causing the spacing to look weird. It seems like adjacent code spans (including ones wrapped inside<a>
) should have the padding suppressed so they render as if they were one code span.The text was updated successfully, but these errors were encountered: