diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-02-25 14:28:04 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-02-25 14:28:04 -0500 |
| commit | df37f6904b8d3c74d1d72edd0828a9fcfc2a94dd (patch) | |
| tree | 28dde1d798ca1083190d78524f4b85ac8411a7f6 /usfm2gmi.py | |
| parent | 75e5751b312a711085313be491a02fb25ea3aff7 (diff) | |
| download | usfm2gmi-df37f6904b8d3c74d1d72edd0828a9fcfc2a94dd.tar.gz | |
rem: remove it
Diffstat (limited to 'usfm2gmi.py')
| -rwxr-xr-x | usfm2gmi.py | 4 |
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: |
