-
Notifications
You must be signed in to change notification settings - Fork 4.1k
don't uppercase codeblocks inside <h5> headers #7734
Copy link
Copy link
Closed
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
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
- previous issue h5 changes content rather than just style #1522
that issue proposed removing the uppercasing entirely. my proposal is to just remove it inside <code> blocks
Use Cases
API documentation generated by mkdocstrings puts function/class names in headings
Visuals
given the following markdown:
##### Difference between `Never` and `NoReturn`Before submitting
- I have read and followed the change request guidelines.
- I have verified that my idea is a change request and not a bug report.
- I have ensured that, to the best of my knowledge, my idea will benefit the entire community.
- I have included relevant links to the documentation, related issues, and discussions to underline the need for my idea.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
change requestIssue requests a new feature or improvementIssue requests a new feature or improvementresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open

