pygmentize-xpl

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

Repository
Git URLhttps://github.com/transpect/pygmentize-xpl.git
SVN URLhttps://github.com/transpect/pygmentize-xpl
Base URIhttp://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: 2017-10-16+02:00