diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-06 01:01:18 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-06 01:01:18 +0100 |
commit | c9af58da16500925769b2a9ce32111d2c71853db (patch) | |
tree | 7e7d1bd5fda0ac5a5300c1385e0cda9f3d1e65eb | |
parent | ff6213c0f2ac184686c169fbc308178023525092 (diff) | |
download | mdhtml-c9af58da16500925769b2a9ce32111d2c71853db.tar.gz mdhtml-c9af58da16500925769b2a9ce32111d2c71853db.tar.bz2 mdhtml-c9af58da16500925769b2a9ce32111d2c71853db.zip |
+support for bullet pointed lists
-rw-r--r-- | converter.py | 1 |
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 |