Files
pandoc/scripts/caps.py
T
2013-08-13 23:11:33 -07:00

10 lines
187 B
Python
Executable File

#!/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)