Open
Description
I just ran into this while working on launchbadge/sqlx#3383
It'd be really nice to have syntax highlighting for TOML in crate docs, because I'm including a lot of it.
I found #1047 which was closed already and the upstream issue rust-lang/rust#43165, but the general disposition for the latter seems to be summed up by this comment: rust-lang/rust#43165 (comment)
It doesn't seem likely that rustdoc
itself will gain support for this anytime soon.
The reason I'm opening this issue is because this comment points out that TOML syntax highlighting is already available on the details pages for crates. It doesn't seem like it would take much to inject it into the HTML for the docs themselves.
Metadata
Metadata
Assignees
Labels
No labels