관리-도구
편집 파일: pangomarkup.cpython-38.pyc
U ʗRe� � @ sJ d Z ddlmZ dgZed�ded�diZefdd �ZG d d� de�ZdS )z� pygments.formatters.pangomarkup ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for Pango markup output. :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )� Formatter�PangoMarkupFormatter�&z&�<z<c C s | � |�S )z Escape & and < for Pango Markup.)� translate)�text�table� r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/pygments/formatters/pangomarkup.py�escape_special_chars s r c @ s0 e Zd ZdZdZddgZg Zdd� Zdd� Zd S ) r zk Format tokens as Pango Markup code. It can then be rendered to an SVG. .. versionadded:: 2.9 zPango MarkupZpangoZpangomarkupc K s� t j| f|� i | _| jD ]�\}}d}d}|d rJ|d|d 7 }d| }|d rb|d7 }d| }|d rz|d 7 }d | }|d r�|d7 }d | }||f| j|<