Skip to content

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

Closed
@pravic

Description

@pravic

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

Metadata

Metadata

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions