From 771301eb414c6f20252fe5dacfe591668956e7bc Mon Sep 17 00:00:00 2001 From: chelproc Date: Thu, 14 Apr 2022 13:19:00 +0000 Subject: [PATCH] disable text-transform of codes in admonition titles --- packages/docusaurus-theme-classic/src/admonitions.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/docusaurus-theme-classic/src/admonitions.css b/packages/docusaurus-theme-classic/src/admonitions.css index 2b784cc57056..2b5ac012d3e2 100644 --- a/packages/docusaurus-theme-classic/src/admonitions.css +++ b/packages/docusaurus-theme-classic/src/admonitions.css @@ -11,6 +11,10 @@ text-transform: uppercase; } +.admonition h5 code { + text-transform: none; +} + .admonition-icon { display: inline-block; vertical-align: middle;