Skip to content

Commit

Permalink
Inhibit text-transform for code in h4
Browse files Browse the repository at this point in the history
Tested in `index-test.md`

Fixes mmistakes#403
  • Loading branch information
pdmosses committed Aug 6, 2020
1 parent 31b99a2 commit 98b22be
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 98b22be

Please sign in to comment.