dahlia / seonbi

SmartyPants for Korean language

Home Page:https://hackage.haskell.org/package/seonbi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pandoc JSON filter

dahlia opened this issue · comments

Making Seonbi to support every markup language in the world is nonsense. Instead, it's much more efficient to let it work as a Pandoc JSON filter, so that the following usage is possible:

pandoc -f asciidoc -t json ko-Kore.adoc | seonbi-pandoc | pandoc -f json -t asciidoc -o ko-Hang.adoc

… or in short:

pandoc --filter seonbi-pandoc -f asciidoc -t asciidoc -o ko-Hang.adoc ko-Kore.adoc