]> git.cameronkatri.com Git - cgit.git/commitdiff
md2html: use sane_lists extension
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 4 Dec 2020 12:13:23 +0000 (13:13 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 29 Dec 2020 11:33:48 +0000 (12:33 +0100)
This allows for cleaner nesting semantics and matches github more
closely.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
filters/html-converters/md2html

index dc20f42a05cf2e18734a649e0e59620b844c7eae..f505cb2354236eb0bfeaea70f14c8a01d363f32b 100755 (executable)
@@ -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"}})