Convert usfm bibles into gemtext (python library/utility)
b: add break, according to spec
Zach DeCook 2021-02-25
parent df37f69 · commit 5f57484
-rwxr-xr-xusfm2gmi.py2
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