about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-08-10 08:19:37 -0400
committerZach DeCook <zachdecook@librem.one>2022-08-10 08:19:37 -0400
commit21a75c18879896bd5380b37551bf28f473f6105a (patch)
tree1baad2688ba4dc20fdd46e1f8f3083ae04499f62 /usfm2gmi.py
parente0d2aec2d5e75211eadc42b4442961c977f393f7 (diff)
downloadusfm2gmi-21a75c18879896bd5380b37551bf28f473f6105a.tar.gz
li1, mi: support markers
Diffstat (limited to 'usfm2gmi.py')
-rwxr-xr-xusfm2gmi.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/usfm2gmi.py b/usfm2gmi.py
index 24d1d5e..5aa1a78 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -61,8 +61,10 @@ def convert(line):
       skip = 1
     elif word in ['\\p','\\m']:
       out += '\n'
-    elif word in ['\\pi','\\pi1']:
+    elif word in ['\\pi','\\pi1','\\mi']:
       out += '\n\t'
+    elif word in ['\\li1']:
+      out += '\n* '
     elif word in ['\\q', '\\q1']:
       out += '\n> '
     elif word in ['\\q2']: