diff options
author | Jason A. Donenfeld | 2020-12-04 13:13:23 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2020-12-29 12:33:48 +0100 |
commit | f69626c68eb64e1a2f6b4ba055409d7205e72757 (patch) | |
tree | d5ee1939585491433393da281dacb22ffc7e4536 | |
parent | git: update to v2.30.0 (diff) | |
download | cgit-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>
-rwxr-xr-x | filters/html-converters/md2html | 1 |
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"}}) |