Le mardi 2 février 2021 à 17:29:16 UTC, John MacFarlane a écrit :
"'Dan Shearer' via pandoc-discuss"
<pandoc-...@googlegroups.com> writes:

> Le lundi 1 février 2021 à 17:40:33 UTC, John MacFarlane a écrit :
>
>>
>> We wouldn't embed this directly in pandoc (trying to avoid
>> C dependencies), but it would be easy to create a filter
>> to intercept specially marked code blocks and convert them
>> to pictures. (There are examples of this kind of thing in the
>> pandoc/lua-filters repository.)
>>
>
> John, what is needed to help make a Pikchr filter happen?

https://pandoc.org/lua-filters.html

Here is the filter in Lua: https://code.jboy.space/pikchr-filter/file?name=pikchr.lua&ci=tip  .

It assumes the pikchr binary is in the path.

Dan


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/131b93bd-047c-4020-9ec3-3bb01d26cf83n%40googlegroups.com.