about summary refs log tree commit diff stats
path: root/filters
diff options
context:
space:
mode:
authorJason A. Donenfeld2020-12-04 13:13:23 +0100
committerJason A. Donenfeld2020-12-29 12:33:48 +0100
commitf69626c68eb64e1a2f6b4ba055409d7205e72757 (patch)
treed5ee1939585491433393da281dacb22ffc7e4536 /filters
parentgit: update to v2.30.0 (diff)
downloadcgit-f69626c68eb64e1a2f6b4ba055409d7205e72757.tar.gz
cgit-f69626c68eb64e1a2f6b4ba055409d7205e72757.zip
md2html: use sane_lists extension
This allows for cleaner nesting semantics and matches github more
closely.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters')
-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 dc20f42..f505cb2 100755 --- a/filters/html-converters/md2html +++ b/filters/html-converters/md2html
@@ -301,6 +301,7 @@ markdown.markdownFromFile(
301 "markdown.extensions.fenced_code", 301 "markdown.extensions.fenced_code",
302 "markdown.extensions.codehilite", 302 "markdown.extensions.codehilite",
303 "markdown.extensions.tables", 303 "markdown.extensions.tables",
304 "markdown.extensions.sane_lists",
304 TocExtension(anchorlink=True)], 305 TocExtension(anchorlink=True)],
305 extension_configs={ 306 extension_configs={
306 "markdown.extensions.codehilite":{"css_class":"highlight"}}) 307 "markdown.extensions.codehilite":{"css_class":"highlight"}})