about summary refs log tree commit diff
path: root/usfm2gmi.py
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2021-02-25 14:28:04 -0500
committerZach DeCook <zachdecook@librem.one>2021-02-25 14:28:04 -0500
commitdf37f6904b8d3c74d1d72edd0828a9fcfc2a94dd (patch)
tree28dde1d798ca1083190d78524f4b85ac8411a7f6 /usfm2gmi.py
parent75e5751b312a711085313be491a02fb25ea3aff7 (diff)
downloadusfm2gmi-df37f6904b8d3c74d1d72edd0828a9fcfc2a94dd.tar.gz
rem: remove it
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 9b976ab..78800ee 100755
--- a/usfm2gmi.py
+++ b/usfm2gmi.py
@@ -10,8 +10,10 @@ def convert(line):
   out = ''
   if len(split) == 0:
     return out
-  if split[0] == '\\s':
+  elif split[0] == '\\s':
     return '\n## ' + ' '.join(split[1:])
+  elif split[0] == '\\rem':
+    return out
   skip = 0
   for word in split:
     if skip > 0: