From 04989f86604974fa0a89803952d45c61c00521e1 Mon Sep 17 00:00:00 2001 From: Mathieu PATUREL Date: Sat, 16 Nov 2019 10:41:23 +1100 Subject: [PATCH] Use cuddled-lists options on markdown2 (fix #82) --- live-testing/test.md | 19 +------------------ markdown2html.py | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/live-testing/test.md b/live-testing/test.md index 4857206..8b92215 100644 --- a/live-testing/test.md +++ b/live-testing/test.md @@ -1,18 +1 @@ -# hello world - -This is a *test*. Some inline `[2]code()`. - -what the hell... - -```python -import this - -if input("answer yes") != 'yes': - print("Really?") -``` - -this flickering is really annoying... - -It looks like it's gone... Oh wait nah, it's still here... - -This should still be working, and it is! +a_b_c \ No newline at end of file diff --git a/markdown2html.py b/markdown2html.py index 928426a..0cf706b 100644 --- a/markdown2html.py +++ b/markdown2html.py @@ -17,7 +17,7 @@ from .lib.markdown2 import Markdown __all__ = ("markdown2html",) -markdowner = Markdown(extras=["fenced-code-blocks"]) +markdowner = Markdown(extras=["fenced-code-blocks", "cuddled-lists"]) # FIXME: how do I choose how many workers I want? Does thread pool reuse threads or # does it stupidly throw them out? (we could implement something of our own)