aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-11-09 02:56:03 +0000
committersaturneric <[email protected]>2025-11-09 02:56:03 +0000
commit780400f3edb43d5e3d9414f29f33959c65cafaa4 (patch)
treed2f72482d77266eb6e278393f34ea1b54eaf6445
parentstyle(markdown): update code block for dark theme (diff)
downloadcgit-saturneric.tar.gz
cgit-saturneric.zip
style(markdown-body): set monospace font for code blockssaturneric
* Apply `"Source Code Pro", monospace` font to code elements * Improves code readability and consistency in markdown rendering
-rwxr-xr-xfilters/html-converters/md2html1
1 files changed, 1 insertions, 0 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index 5cfcdcb..b3d223e 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -259,6 +259,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
border: 1px solid #444;
background-color: #1e1e1e;
border-radius: 3px;
+ font-family: "Source Code Pro", monospace;
}
.markdown-body code {
white-space: nowrap;