Can I write my own converter for Pandoc?

Is it possible to write a custom output entry for Pandoc?

For example, suppose I want to convert a document:

pandoc -f markdown -t myCustomMarkup asdf.md

Does Pandoc have a way to specify conversion rules for myCustomMarkup? (for example, I could indicate that the text with the attribute “bold” should be displayed on <bold>text</bold>, etc. for all functions / attributes recognized by Pandoc).

Can someone point me to some kind of documentation on how I can implement my own? I can't seem to say that.

(In addition, there is a way to “connect” the writer defined in the file without having to (for example) recompile pandoc ?, for example, pandoc -f markdown -t myCustomMarkup --writerpath=path/to/my/writer asdf.md)

+5
source share

All Articles