Is it possible to distribute python filters? #12084
Replies: 2 comments 3 replies
-
| Did you look at Pandoc filters documentation? https://pandoc.org/filters.html Quarto extension is an additional layer which might not support everything. filters:
  - my-filter.py | 
Beta Was this translation helpful? Give feedback.
-
| 
 Yes I have read the  I think  | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Hi!
I could probably test this quickly but I think it is a worthwhile discussion. I looked and I didn't see any discussion about this directly so I decided I'd ask.
Is it possible to distribute filters in a language other than
lua.Of course, I assume adding additional dependencies might require more work out of the user (in my case
s3cmdandpanflutewould be required bypython) and it should not be a featurequartoto handle the deps. However, it would be good enough to specify the deps in a file included by the extension (e.g. just includerequirements.txtwith the extension, in the case ofpython).I see in distributing a
luafile is not necessarily required so I am wondering if I could do something likefor a
pythonfilter.Beta Was this translation helpful? Give feedback.
All reactions