diff options
author | June McEnroe <june@causal.agency> | 2022-02-13 12:07:49 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-02-13 12:10:49 -0500 |
commit | 516175469a8c6895496ef909b487992deb45f460 (patch) | |
tree | e0e8b4d38f05e870089de8babc0d3aca3bb4d3b0 /filters/html-converters/md2html | |
parent | Fix crash trying to print "this commit" on 404s (diff) | |
parent | git: update to v2.32.0 (diff) | |
download | cgit-pink-516175469a8c6895496ef909b487992deb45f460.tar.gz cgit-pink-516175469a8c6895496ef909b487992deb45f460.zip |
Merge up to git v2.32.0
Diffstat (limited to 'filters/html-converters/md2html')
-rwxr-xr-x | filters/html-converters/md2html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html index dc20f42..59f43a8 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html @@ -86,11 +86,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div# margin: 15px 0; } .markdown-body hr { - background: transparent url("/dirty-shade.png") repeat-x 0 0; - border: 0 none; - color: #ccc; - height: 4px; - padding: 0; + border: 2px solid #ccc; } .markdown-body>h2:first-child, .markdown-body>h1:first-child, .markdown-body>h1:first-child+h2, .markdown-body>h3:first-child, .markdown-body>h4:first-child, .markdown-body>h5:first-child, .markdown-body>h6:first-child { margin-top: 0; @@ -301,6 +297,7 @@ markdown.markdownFromFile( "markdown.extensions.fenced_code", "markdown.extensions.codehilite", "markdown.extensions.tables", + "markdown.extensions.sane_lists", TocExtension(anchorlink=True)], extension_configs={ "markdown.extensions.codehilite":{"css_class":"highlight"}}) |