aboutsummaryrefslogtreecommitdiff
path: root/scripts/deemph.py
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-08-18 15:36:54 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-08-18 15:37:27 -0700
commit70386a6a54c54189b8456b547a657873481a70b7 (patch)
treeff5d2ce432e0145f65c0728e66caf6cd193d48ac /scripts/deemph.py
parent8d441af3da4709fd48a44e860d5a0cd4d35792af (diff)
downloadpandoc-70386a6a54c54189b8456b547a657873481a70b7.tar.gz
Removed scripts directory.
This has been put in its own github repo: https://github.com/jgm/pandoc-filters-python
Diffstat (limited to 'scripts/deemph.py')
-rwxr-xr-xscripts/deemph.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts/deemph.py b/scripts/deemph.py
deleted file mode 100755
index f69dac5b8..000000000
--- a/scripts/deemph.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python
-from pandoc import walk, toJSONFilter
-from caps import caps
-
-"""
-Pandoc filter that causes emphasized text to be displayed
-in ALL CAPS.
-"""
-
-def deemph(key, val, fmt):
- if key == 'Emph':
- return walk(val, caps, fmt)
-
-if __name__ == "__main__":
- toJSONFilter(deemph)