Closed
Description
I used
[`Stream`](futures::stream::Stream)`<Item = `[`io::Result`](std::io::Result)`<`[`Bytes`](bytes::Bytes)`>>`
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.
Activity
GuillaumeGomez commentedon Jul 23, 2019
There was a reason for this. I'll check why.
GuillaumeGomez commentedon Jul 23, 2019
The reason why:
It's not very nice looking on "normal" blocks to not have a bit of padding.
GuillaumeGomez commentedon Jul 23, 2019
I've got an idea on how to fix. Let's put it to try!
GuillaumeGomez commentedon Jul 23, 2019
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.
dtolnay commentedon Jul 23, 2019
Here is how I currently work around this in Syn (without merging code tags):
GuillaumeGomez commentedon Jul 23, 2019
That's something! 🤣
9 remaining items