Pandoc::Filter::Multifilter(3pm)

Pandoc::Filter::Multifilter3pm

Apply filters from metadata field "multifilter"

Overview

This filter is provided as system-wide executable multifilter, see there for additional documentation.

Methods

new

Create a new multifilter.

apply( $doc [, $format [, $metadata ] ] )

Apply all filters specified in document metadata field "metafilters".

Functions

find_filter( $name [, $DATADIR ] )

Find a filter by its name in "$DATADIR/filters", where $DATADIR is the user data directory (".pandoc" in ~ or %appdata%\pandoc), and in $PATH. Returns a list of command line arguments to execute the filter or throw an exception.

apply_filter( $doc, $format, @filter )

Apply a filter, given by its command line arguments, to a Pandoc Document element and return a transformed Document or throw an exception on error. Can be called like this:

  apply_filter( $doc, $format, find_filter( $name ) );

Releases

4 releases since Debian 9 (Stretch); the text changed 3 times.

  1. 9
  2. 10
  3. 12
  4. 13

From libpandoc-elements-perl 0.38-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.