MULTIFILTER(1p)
β¨ MULTIFILTER π
okay bestie so this is the manual page for multifilter, part of the User Contributed Perl Documentation situation (yes the 1p in MULTIFILTER(1p) β that's where we live, section 1p, we're guests in Perl's house π«Ά).
π NAME π
multifilter β a Pandoc filter whose whole ~thing~ is applying other filters that you listed in the field "multifilter". she's a filter that runs filters. filterception, if you will. it's giving middle management but make it slay π
πΈ DESCRIPTION πΈ
so here's the tea, bestie β¨ This Pandoc filter applies other filters that are listed in the document metadata field "multifilter".
You specify them the exact same way you'd specify them for the pandoc option -F or --filter. No new syntax, no extra homework, we keep it iconic. π
for instance, say you have input.md looking like this:
---
filters:
- filter1 # in $PATH or ~/.pandoc/filters
- ./filter2.pl # relative path
- /path/filter3 # absolute path
...
and you convert it via
pandoc --filter multifilter input.md
then it'll get filtered exactly like this, no cap:
pandoc -F filter1 -F ./filter2.pl -F /path/filter3 input.md
In addition (yes there's more, she keeps going π), filters are also searched in ~/.pandoc/filters. so that's a whole extra cozy little home for your filters to live in. π πΈ
β¨ OPTIONS β¨
--help,-hβ prints this help. that's it. that's the whole option list. she's simple, she's focused, she's an icon. π
π«Ά quick vibe check:$PATHor~/.pandoc/filtersfor a bare name likefilter1,./filter2.plis a relative path, and/path/filter3is an absolute path. those three flavors are exactly what the example shows, so don't come for me if your paths are doing something else. π
mwah π that's the whole page, thanks for coming to my TED talk. this fine piece of documentation is brought to you by perl v5.38.2, dated 2024-08-03, and the manual page herself goes by MULTIFILTER(1p) β user contributed Perl documentation, living her best life. periodt. πβ¨ππ¦
π¦ where this page comes from
- debian trixie: libpandoc-elements-perl 0.38-7 Β· GPL-2.0-only
- ubuntu resolute: libpandoc-elements-perl 0.38-7 Β· GPL-2.0-only
- ubuntu stonking: libpandoc-elements-perl 0.38-7 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms