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.
-
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
s3cmd
andpanflute
would be required bypython
) and it should not be a featurequarto
to handle the deps. However, it would be good enough to specify the deps in a file included by the extension (e.g. just includerequirements.txt
with the extension, in the case ofpython
).I see in distributing a
lua
file is not necessarily required so I am wondering if I could do something likefor a
python
filter.Beta Was this translation helpful? Give feedback.
All reactions