From 98b22be66bb14723961da198a384a94eded2da5f Mon Sep 17 00:00:00 2001 From: PLanCompS <18308236+pdmosses@users.noreply.github.com> Date: Thu, 6 Aug 2020 10:04:43 +0200 Subject: [PATCH] Inhibit text-transform for code in h4 Tested in `index-test.md` Fixes #403 --- _sass/typography.scss | 4 ++++ docs/index-test.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_sass/typography.scss b/_sass/typography.scss index 3749d43..cadee36 100644 --- a/_sass/typography.scss +++ b/_sass/typography.scss @@ -27,6 +27,10 @@ h4, letter-spacing: 0.1em; } +h4 code { + text-transform: none; +} + h5, .text-epsilon { @include fs-3; diff --git a/docs/index-test.md b/docs/index-test.md index 967ba6f..17ad24e 100644 --- a/docs/index-test.md +++ b/docs/index-test.md @@ -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.