Convert usfm bibles into gemtext (python library/utility)
pi: add indented paragraph
Zach DeCook 2021-02-25
parent befa664 · commit 213f0d4
-rwxr-xr-xusfm2gmi.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py
index 54685f7..90c18ae 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -43,6 +43,8 @@ def convert(line):
skip = 1
elif word in ['\\p','\\m']:
out += '\n'
+ elif word in ['\\pi','\\pi1']:
+ out += '\n\t'
elif word in ['\\q']:
out += '\n> '
elif word in ['\\wj','\\wj*']: