diff options
author | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-24 16:18:03 -0500 |
---|---|---|
committer | Blake DeMarcy <ofunknowndescent@gmail.com> | 2017-04-24 16:18:03 -0500 |
commit | 86e91102ebe676a989f27784057002bd664805b0 (patch) | |
tree | 414c574db80d95b1a87ae0fbadf91cf504b07335 /src | |
parent | 10a65c2d7c507c77495f9d99d59436065e17f5a9 (diff) | |
download | bbj-86e91102ebe676a989f27784057002bd664805b0.tar.gz |
add [dim] to help text; change format help dimensions
Diffstat (limited to 'src')
-rw-r--r-- | src/formatting.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/formatting.py b/src/formatting.py index a3eb73d..0a50d3f 100644 --- a/src/formatting.py +++ b/src/formatting.py @@ -81,6 +81,7 @@ underline = re.compile(r"(?<!\\)_{2}(.+?)(?<!\\)_{2}") escapes = re.compile(r"\\([*_]{2})") + def apply_directives(text): # is there a better way to do this? smh.... text = quotes.sub(lambda m: "[quote: %s]" % m.group(1), text) |