diff options
| author | saturneric <[email protected]> | 2025-11-09 02:56:03 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-11-09 02:56:03 +0000 |
| commit | 780400f3edb43d5e3d9414f29f33959c65cafaa4 (patch) | |
| tree | d2f72482d77266eb6e278393f34ea1b54eaf6445 | |
| parent | style(markdown): update code block for dark theme (diff) | |
| download | cgit-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-x | filters/html-converters/md2html | 1 |
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; |
