diff options
| author | Zach DeCook <zachdecook@librem.one> | 2021-02-25 15:26:09 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2021-02-25 15:47:52 -0500 |
| commit | e864999c34061abf4c8ba6bc393deeb88afd0d97 (patch) | |
| tree | db694fdbc169b4a1c3605dcfb9cbaa5cb4b2662c /usfm2gmi.py | |
| parent | 732d53b91422f1503e6ce18930adf61b27902dc9 (diff) | |
| download | usfm2gmi-e864999c34061abf4c8ba6bc393deeb88afd0d97.tar.gz | |
q and m: blockquote and resume paragraph
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 4edf6b8..806b94f 100755 --- a/usfm2gmi.py +++ b/usfm2gmi.py @@ -29,8 +29,10 @@ def convert(line): continue if word in ['\\v', '\\c']: skip = 1 - elif word == '\\p': + elif word in ['\\p','\\m']: out += '\n' + elif word in ['\\q']: + out += '\n> ' elif word in ['\\wj','\\wj*']: continue else: |
