Convert usfm bibles into gemtext (python library/utility)
d: render hebrew descriptive subtitle as h3
| -rwxr-xr-x | usfm2gmi.py | 2 |
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' |