mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-29 10:55:40 +00:00
11 lines
213 B
Python
Executable File
11 lines
213 B
Python
Executable File
#!/usr/bin/env python
|
|
from pandoc import walk, toJSONFilter
|
|
from caps import caps
|
|
|
|
def deemph(k,v,f):
|
|
if k == 'Emph' and f == 'html':
|
|
return walk(v,caps,f)
|
|
|
|
if __name__ == "__main__":
|
|
toJSONFilter(deemph)
|