Skip to content

Commit

Permalink
Merge pull request just-the-docs#404 from pdmosses/h4-code
Browse files Browse the repository at this point in the history
Inhibit text-transform for code in h4
  • Loading branch information
pmarsceill authored Sep 11, 2020
2 parents 3220266 + bb8c387 commit d0a9cd3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions _sass/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ h4,
letter-spacing: 0.1em;
}

h4 code {
text-transform: none;
}

h5,
.text-epsilon {
@include fs-3;
Expand Down
2 changes: 1 addition & 1 deletion docs/index-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ GitHubPages::Dependencies.gems.each do |gem, version|
end
```

#### [](#header-4)Header 4
#### [](#header-4)Header 4 `with code not transformed`

* This is an unordered list following a header.
* This is an unordered list following a header.
Expand Down

0 comments on commit d0a9cd3

Please sign in to comment.