Closed DetachHead closed 5 days ago
workaround: put this in your extra.css
.md-typeset h5 code {
text-transform: none;
}
Thanks for suggesting. I think this is a reasonable request, albeit it looks a little weird, but uppercase code is incorrect.
Fixed in b3f1eb27f with the patch suggested in https://github.com/squidfunk/mkdocs-material/issues/7734#issuecomment-2495380858.
Context
No response
Description
h5
headers convert the text to uppercase (#1522). i don't have an issue with this behavior, but i think by default it should leave any text inside a<code>
block as-is, because in most cases code is case-sensitive.Related links
that issue proposed removing the uppercasing entirely. my proposal is to just remove it inside
<code>
blocksUse Cases
API documentation generated by mkdocstrings puts function/class names in headings
Visuals
given the following markdown:
current:
proposed:
Before submitting