Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-12-04 15:13:23 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2020-12-29 14:33:48 +0300
commitf69626c68eb64e1a2f6b4ba055409d7205e72757 (patch)
treed5ee1939585491433393da281dacb22ffc7e4536 /filters
parentcef27b670a66c9840bb6120260864e4b3a701dc2 (diff)
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 'filters')
-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"}})