Ë ÆÙ-†Í-ã ó.—dZddlZddlZddlZddlZddlmZddlmZddl m Z m Z m Z ddl mZmZmZ ddlZdgZed«d ed «d ed «d ed«ded«diZefd„Zd„Zd„ZdZdezdzZdZdZGd„de«Zy#e$rdZYŒ[wxYw)zÏ pygments.formatters.html ~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for HTML output. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. éN)ÚStringIO)Ú Formatter)ÚTokenÚTextÚSTANDARD_TYPES)Ú get_bool_optÚ get_int_optÚ get_list_optÚ HtmlFormatterÚ&z&Úz>Ú"z"Ú'z'có$—|j|«S)z as well as single and double quotes for HTML.)Ú translate)ÚtextÚtables ú=/usr/lib/python3.12/site-packages/pygments/formatters/html.pyÚ escape_htmlr&s€à �>‰>˜%Ó Ð ócóT—|jd«s|jd«r|Sd|zS)NÚcalcÚvarÚ#)Ú startswith)Úcolors rÚwebifyr+s,€Ø ×јԠ5×#3Ñ#3°EÔ#:؈ à�U‰{Ðrcó¤—tj|«}|r|Sd}|€/d|dz|z}|j}tj|«}|€Œ/||zS)NÚÚ-éÿÿÿÿ)rÚgetÚparent)ÚttypeÚfnameÚanames rÚ_get_ttype_classr(2sb€Ü × Ñ ˜uÓ %€E٠؈ Ø €EØ ˆ-Ø�e˜B‘i‘ %Ñ'ˆØ— ‘ ˆÜ×"Ñ" 5Ó)ˆð ‰-ð �5‰=Ðrz¥/* generated by Pygments Copyright 2006-2023 by the Pygments team. Licensed under the BSD license, see LICENSE for details. */ %(styledefs)s aˆ %(title)s

%(title)s

a5 %(title)s

%(title)s

z có—eZdZdZdZdgZddgZd„Zd„Zd„Z d „Z d „Z d%d „Z d%d „Z d%d„Zd„Zd„Zed„«Zed„«Zed„«Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zej>d¬«d„«Z d „Z!d!„Z"d"„Z#d#„Z$d$„Z%y )&r až, Format tokens as HTML 4 ```` tags. By default, the content is enclosed in a ``
`` tag, itself wrapped in a ``
`` tag (but see the `nowrap` option). The ``
``'s CSS class can be set by the `cssclass` option. If the `linenos` option is set to ``"table"``, the ``
`` is
    additionally wrapped inside a ```` which has one row and two
    cells: one containing the line numbers and one containing the code.
    Example:

    .. sourcecode:: html

        
1
            2
def foo(bar):
              pass
            
(whitespace added to improve clarity). A list of lines can be specified using the `hl_lines` option to make these lines highlighted (as of Pygments 0.11). With the `full` option, a complete HTML 4 document is output, including the style definitions inside a ``