diff options
Diffstat (limited to 'scripts/caps.py')
-rwxr-xr-x | scripts/caps.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/caps.py b/scripts/caps.py new file mode 100755 index 000000000..3ab8bc7a3 --- /dev/null +++ b/scripts/caps.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python +from pandoc import toJSONFilter + +def caps(key, value, format): + if key == 'Str': + return {'Str': value.upper()} + +if __name__ == "__main__": + toJSONFilter(caps) |