diff options
Diffstat (limited to 'scripts/caps.py')
-rwxr-xr-x | scripts/caps.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/caps.py b/scripts/caps.py deleted file mode 100755 index b86cd1520..000000000 --- a/scripts/caps.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env python - -""" -Pandoc filter to convert all regular text to uppercase. -Code, link URLs, etc. are not affected. -""" - -from pandoc import toJSONFilter - -def caps(key, value, format): - if key == 'Str': - return {'Str': value.upper()} - -if __name__ == "__main__": - toJSONFilter(caps) |