Skip to content

Documentation: inline code isn't formatted inside lists #53017

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

Closed
pravic opened this issue Aug 3, 2018 · 2 comments
Closed

Documentation: inline code isn't formatted inside lists #53017

pravic opened this issue Aug 3, 2018 · 2 comments
Assignees
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@pravic
Copy link
Contributor

pravic commented Aug 3, 2018

For example, in https://doc.rust-lang.org/nightly/std/option/enum.Option.html#method.filter code blocks look like plain text even if they are marked as code in source.

crlf0710@discord;

Those formattings are specified under the CSS selector .docblock p>code, .docblock-short p>code" which doesn't cover the ul li case.

cc @GuillaumeGomez

@GuillaumeGomez
Copy link
Member

Indeed! I'll write a fix this evening.

@GuillaumeGomez GuillaumeGomez self-assigned this Aug 3, 2018
@GuillaumeGomez GuillaumeGomez added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Aug 3, 2018
cramertj added a commit to cramertj/rust that referenced this issue Aug 3, 2018
kennytm added a commit to kennytm/rust that referenced this issue Aug 4, 2018
@pravic
Copy link
Contributor Author

pravic commented Aug 5, 2018

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants