module documentation

pygments.formatters.svg ~~~~~~~~~~~~~~~~~~~~~~~ Formatter for SVG output. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details.

Class SvgFormatter 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.
Function escape_html Escape &, <, > as well as single and double quotes for HTML.
Variable class2style Undocumented
def escape_html(text): (source)

Escape &, <, > as well as single and double quotes for HTML.

class2style: dict = (source)

Undocumented