about summary refs log tree commit diff
path: root/filters
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-04 13:13:23 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-12-29 12:33:48 +0100
commitf69626c68eb64e1a2f6b4ba055409d7205e72757 (patch)
treed5ee1939585491433393da281dacb22ffc7e4536 /filters
parentgit: update to v2.30.0 (diff)
downloadcgit-pink-f69626c68eb64e1a2f6b4ba055409d7205e72757.tar.gz
cgit-pink-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 '')
-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(
 		"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"}})