From: Jason A. Donenfeld Date: Fri, 4 Dec 2020 12:13:23 +0000 (+0100) Subject: md2html: use sane_lists extension X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f69626c68eb64e1a2f6b4ba055409d7205e72757;p=cgit md2html: use sane_lists extension This allows for cleaner nesting semantics and matches github more closely. Signed-off-by: Jason A. Donenfeld --- 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"}})