sprin / markdown-inline-graphviz

Render inline graphs with Markdown and Graphviz
MIT License
34 stars 22 forks source link

How to use it with pandoc #4

Closed nirname closed 4 years ago

nirname commented 7 years ago

Can't figure out how to use it with Pandoc. Now I'm using similar script via pandoc filters. When I am trying to activate extension like that markdown+inline_graphviz, I get the following error

pandoc: Unknown extension: inline_graphviz

What I am doing wrong?

sprin commented 7 years ago

Hi Nikolay,

This was written as an extension for Python-Markdown, not for Pandoc. It's possible to make a similar extension for Pandoc.

I would be happy to take the opportunity to learn a bit more Haskell if someone could sponsor a few hours of the work (BTC, Ethereum, Monero accepted). Even small amounts would be greatly appreciated.

PeterJCLaw commented 5 years ago

One approach to Pandoc might be to use it as a pandoc filter. Granted it's not quite as neat as having it directly as a language extension, but it might be easier to get going as there's already good support for python filters.