pygmentize-xpl

pygments front-end step for XProc pipelines, using p:exec

Repository
Git URL https://github.com/transpect/pygmentize-xpl.git
SVN URL https://github.com/transpect/pygmentize-xpl
Base URI http://transpect.io/pygmentize/

Source ⬇

tr:pygmentize

A pygmentize front-end, using p:exec.

Requirements: an executable file called 'pygments' in the search path.

Invocation example: <tr:pygmentize style="manni" language="json" code-string='{"foo":"bar"}'>

Import

<p:import href="http://transpect.io/pygmentize/xpl/pygmentize.xpl"/>

Synopsis

<tr:pygmentize xmlns:tr="http://transpect.io">
  <p:output port="result" primary="true"/>
  <p:option name="code-string"/>
  <p:option name="language" select="''"/>
  <p:option name="style" select="''"/>
</tr:pygmentize>

GitHub sync date: 2024-04-23+02:00