Convert usfm bibles into gemtext (python library/utility)
qs: use tab to offset Selah
| -rwxr-xr-x | usfm2gmi.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py index 52cabfe..ac19681 100755 --- a/usfm2gmi.py +++ b/usfm2gmi.py @@ -52,6 +52,10 @@ def convert(line): out += '\n>\t' elif word in ['\\q3']: out += '\n>\t\t' + elif word in ['\\qs']: + out += '\t' + elif word in ['\\qs*']: + continue elif word in ['\\wj','\\wj*']: continue elif word == '\\nd': |