Formatter for SVG output.
copyright: | Copyright 2006-2013 by the Pygments team, see AUTHORS. |
---|---|
license: | BSD, see LICENSE for details. |
Format tokens as an SVG graphics file. This formatter is still experimental. Each line of code is a <text> element with explicit x and y coordinates containing <tspan> elements with the individual token styles.
By default, this formatter outputs a full SVG document including doctype declaration and the <svg> root element.
New in Pygments 0.9.
Additional options accepted: