Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/pygments/formatters/__pycache__/ |
Upload File : |
o ���ah � @ sN d Z i dd�dd�dd�dd�d d �dd�d d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$i�Zed%k�r%d&d'lZd&d'lZg Zg Zej�d&ej� ej� e�d(d(�� d&d)lm Z e�d*�D ]T\ZZZeD ]LZe�d+�r�e�d,�s�d-ed.d'� �d/d*�ed'd0� f Zee� eed'd'd1g�ZejD ]Zeee�Ze�d2eeeje ej!�e ej"�e e�ff � q�qoqhe�#� e$e��Z%e%�&� Z'e'�d3d4�Z'W d' � n1 s�w Y e'd'e'�(d5�� Z)e'e'�(d6�d'� Z*e$ed7��Z%e%�+e)� e%�+d8d9� e� � e%�+e*� W d' � n 1 �sw Y ed:e,e� � d'S d'S );a� pygments.formatters._mapping ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter mapping definitions. This file is generated by itself. Everytime you change something on a builtin formatter definition, run this script from the formatters folder to update it. Do not alter the FORMATTERS dictionary by hand. :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. �BBCodeFormatter)zpygments.formatters.bbcode�BBCode)�bbcode�bb� z�Format tokens with BBcodes. These formatting codes are used by many bulletin boards, so you can highlight your sourcecode with pygments before posting it there.�BmpImageFormatter)�pygments.formatters.img�img_bmp)�bmp�bitmap)z*.bmpzwCreate a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.�GifImageFormatter)r �img_gif)�gif)z*.gifztCreate a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.�GroffFormatter)zpygments.formatters.groff�groff)r �troff�roffr zFFormat tokens with groff escapes to change their color and font style.� HtmlFormatter)zpygments.formatters.html�HTML)�html)z*.htmlz*.htmz�Format tokens as HTML 4 ``<span>`` tags within a ``<pre>`` tag, wrapped in a ``<div>`` tag. The ``<div>``'s CSS class can be set by the `cssclass` option.�IRCFormatter)zpygments.formatters.irc�IRC)�ircr r z&Format tokens with IRC color sequences�ImageFormatter)r �img)r �IMG�png)z*.pngztCreate a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.�JpgImageFormatter)r �img_jpg)�jpg�jpeg)z*.jpgzuCreate a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.�LatexFormatter)zpygments.formatters.latex�LaTeX)�latex�tex)z*.texzUFormat tokens as LaTeX code. This needs the `fancyvrb` and `color` standard packages.� NullFormatter)�pygments.formatters.otherz Text only)�text�null)z*.txtz1Output the text unchanged without any formatting.�PangoMarkupFormatter)zpygments.formatters.pangomarkupzPango Markup)�pango�pangomarkupr zFFormat tokens as Pango Markup code. It can then be rendered to an SVG.�RawTokenFormatter)r% z Raw tokens)�raw�tokens)z*.rawz@Format tokens as a raw representation for storing token streams.�RtfFormatter)zpygments.formatters.rtf�RTF)�rtf)z*.rtfz�Format tokens as RTF markup. This formatter automatically outputs full RTF documents with color information and other useful stuff. Perfect for Copy and Paste into Microsoft(R) Word(R) documents.�SvgFormatter)zpygments.formatters.svg�SVG)�svg)z*.svgz�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.�Terminal256Formatter)�pygments.formatters.terminal256�Terminal256)�terminal256� console256�256r z�Format tokens with ANSI color sequences, for output in a 256-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.�TerminalFormatter)zpygments.formatters.terminal�Terminal)�terminal�consoler z�Format tokens with ANSI color sequences, for output in a text console. Color sequences are terminated at newlines, so that paging the output works correctly.�TerminalTrueColorFormatter)r5 �TerminalTrueColor)�terminal16m� console16m�16mr z�Format tokens with ANSI color sequences, for output in a true-color terminal or console. Like in `TerminalFormatter` color sequences are terminated at newlines, so that paging the output works correctly.�TestcaseFormatter)r% �Testcase)�testcaser z0Format tokens as appropriate for a new testcase.�__main__� Nz..)�docstring_headline�.z.py�_zpygments.formatters%s.%s� �/���� z%r: %rz � zFORMATTERS = {zif __name__ == '__main__':�wzFORMATTERS = { %s } z, z=== %d formatters processed.)-�__doc__� FORMATTERS�__name__�sys�os�found_formatters�imports�path�insert�join�dirname�__file__� pygments.utilrH �walk�root�dirs�files�filename�endswith� startswith�replace�module_name�print� __import__�module�__all__�formatter_name�getattr� formatter�append�name�tuple�aliases� filenames�sort�open�fp�read�content�find�header�footer�write�lenr r r �>/usr/lib/python3/dist-packages/pygments/formatters/_mapping.py�<module> s� �������� � ��� ������ "� ����� � ��