Skip to content

h5 changes content rather than just style #1522

Closed
@ofek

Description

@ofek

Description

Do to:

// Overrides for 5th level headline
h5 {
text-transform: uppercase;
}

all text is transformed to uppercase, thereby breaking the contract that themes should only control how things are displayed and not what is displayed (without choice).

Capture

Expected behavior

##### GitHub renders a <h5> with text GitHub

Actual behavior

##### GitHub renders a <h5> with text GITHUB

Steps to reproduce the bug

# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6

Differentiation

We should differentiate between h4-h6 instead using either:

  1. underline or italics in addition to bold
  2. varying levels of bold

Or, add option to give each header an additional stacked underline

Package versions

  • Python: 3.8
  • MkDocs: 1.1
  • Material: 5.0.0rc3

Project configuration

theme:
  name: material
  features:
    - tabs

System information

  • OS: Windows 10
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions