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>
This commit is contained in:
Jason A. Donenfeld 2020-12-04 13:13:23 +01:00
parent cef27b670a
commit f69626c68e

View File

@ -301,6 +301,7 @@ markdown.markdownFromFile(
"markdown.extensions.fenced_code", "markdown.extensions.fenced_code",
"markdown.extensions.codehilite", "markdown.extensions.codehilite",
"markdown.extensions.tables", "markdown.extensions.tables",
"markdown.extensions.sane_lists",
TocExtension(anchorlink=True)], TocExtension(anchorlink=True)],
extension_configs={ extension_configs={
"markdown.extensions.codehilite":{"css_class":"highlight"}}) "markdown.extensions.codehilite":{"css_class":"highlight"}})