Formatter for SVG output.
Unknown Field: copyright | |
Copyright 2006-2021 by the Pygments team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Variable | class2style |
Undocumented |
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. |