Convert usfm bibles into gemtext (python library/utility)
d: render hebrew descriptive subtitle as h3
Zach DeCook 2021-02-25
parent bacccf1 · commit a1497ba
-rwxr-xr-xusfm2gmi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py
index ac19681..0d7d0e6 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -28,7 +28,7 @@ def convert(line):
# TODO: parse as word for title tags in title line
elif split[0] in ['\\mt2','\\s']:
return '\n## ' + ' '.join(split[1:])
- elif split[0] in ['\\mt3']:
+ elif split[0] in ['\\mt3','\\d']:
return '\n### ' + ' '.join(split[1:])
elif split[0] == '\\b':
return '\n'