Convert usfm bibles into gemtext (python library/utility)
b: add break, according to spec
| -rwxr-xr-x | usfm2gmi.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py index 78800ee..7cc2f24 100755 --- a/usfm2gmi.py +++ b/usfm2gmi.py @@ -12,6 +12,8 @@ def convert(line): return out elif split[0] == '\\s': return '\n## ' + ' '.join(split[1:]) + elif split[0] == '\\b': + return '\n' elif split[0] == '\\rem': return out skip = 0 |