aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-06 01:01:18 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-06 01:01:18 +0100
commitc9af58da16500925769b2a9ce32111d2c71853db (patch)
tree7e7d1bd5fda0ac5a5300c1385e0cda9f3d1e65eb
parentff6213c0f2ac184686c169fbc308178023525092 (diff)
downloadmdhtml-c9af58da16500925769b2a9ce32111d2c71853db.tar.gz
mdhtml-c9af58da16500925769b2a9ce32111d2c71853db.tar.bz2
mdhtml-c9af58da16500925769b2a9ce32111d2c71853db.zip
+support for bullet pointed lists
-rw-r--r--converter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter.py b/converter.py
index 9c8ee77..3505ae7 100644
--- a/converter.py
+++ b/converter.py
@@ -56,6 +56,7 @@ for filename in markdown_files:
# simple text
line = sub(r"\*\*(.*)\*\*", r"<strong>\g<1></strong>", line)
line = sub(r"\*(.*)\*", r"<i>\g<1></i>", line)
+ line = sub(r"^-(.*)", r"<li>\g<1></li>", line)
if not started_paragraphing:
started_paragraphing = True
line = "<p>\n" + line