diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-10-13 23:20:59 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-10-13 23:20:59 -0700 |
commit | 0ae6a9ae81217e80fa0150432dfaf5d007c4de42 (patch) | |
tree | e817dbf4c89120547fe152c8bec5c441f0945b22 | |
parent | 50a6a824bcbceb02d31b7db05fb4dfe5a84f3cef (diff) | |
download | mnpgr-0ae6a9ae81217e80fa0150432dfaf5d007c4de42.tar.gz mnpgr-0ae6a9ae81217e80fa0150432dfaf5d007c4de42.tar.bz2 mnpgr-0ae6a9ae81217e80fa0150432dfaf5d007c4de42.zip |
Handle ambiuous _\b_
Is _ backspace _ italic or bold? Let's default
on bold, except if the current mode is italic or
bold-italic: then it's italic.
-rwxr-xr-x | mnpgr.tl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ ("") (`@{x #/ +/}` (output-text x cur-mode)) (`_\b@x\b@x` (output-text x :bital)) + (`_\b_` (output-text "_" + (if (meq cur-mode :bital :ital) + :ital + :bold))) (`_\b@x` (output-text x :ital)) (`@x\b@x` (output-text x :bold)) (@else (output-text else :norm)))) |