text-transform: uppercase breaks some documentation. #233
-
On an internal project, I use headers of the following form to document the nested keys of a hierarchical yaml configuration file:
The casing of these is important (uppercase won't work!), but it appears h4, h5, h6 in furo have a Is there an easy way to disable that text transform per-project? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
If there is a desire to override the styling chosen by this theme, a developer can override the header manipulation on these entries by injecting a custom style sheet in the project's
And having
|
Beta Was this translation helpful? Give feedback.
-
Nice! That'll certainly do as a workaround, but I wonder if @pradyunsg would consider changing this? Technical docs often end up having headers where case sensitivity is important, so upper-casing a bunch of them seems like it might cause problems for others too... |
Beta Was this translation helpful? Give feedback.
-
All agreed! I will say that force-upper-casing in a tool focused on programming documentation where most languages are cases sensitive feels like a mistake, and I do hope you'll reconsider at some point. But, it's your theme and I totally respect assertive choices :-) |
Beta Was this translation helpful? Give feedback.
If there is a desire to override the styling chosen by this theme, a developer can override the header manipulation on these entries by injecting a custom style sheet in the project's
conf.py
:And having
_static/theme_overrides.css
with the contents: