403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/pygments/formatters/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/pygments/formatters/__pycache__/bbcode.cpython-39.pyc
a

SҼa��@s6dZddlmZddlmZdgZGdd�de�ZdS)z�
    pygments.formatters.bbcode
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    BBcode formatter.

    :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�)�	Formatter)�get_bool_opt�BBCodeFormatterc@s8eZdZdZdZddgZgZdd�Zdd�Zd	d
�Z	dS)ra�
    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.

    This formatter has no support for background colors and borders, as there
    are no common BBcode tags for that.

    Some board systems (e.g. phpBB) don't support colors in their [code] tag,
    so you can't use the highlighting together with that tag.
    Text in a [code] tag usually is shown with a monospace font (which this
    formatter can do with the ``monofont`` option) and no spaces (which you
    need for indentation) are removed.

    Additional options accepted:

    `style`
        The style to use, can be a string or a Style subclass (default:
        ``'default'``).

    `codetag`
        If set to true, put the output into ``[code]`` tags (default:
        ``false``)

    `monofont`
        If set to true, add a tag to show the code with a monospace font
        (default: ``false``).
    ZBBCodeZbbcodeZbbcKs@tj|fi|��t|dd�|_t|dd�|_i|_|��dS)NZcodetagFZmonofont)r�__init__r�_code�_mono�styles�_make_styles)�self�options�r�>/usr/lib/python3.9/site-packages/pygments/formatters/bbcode.pyr3s
zBBCodeFormatter.__init__cCs�|jD]�\}}d}}|dr6|d|d7}d|}|drN|d7}d|}|drf|d	7}d
|}|dr~|d7}d
|}||f|j|<qdS)N�Zcolorz[color=#%s]z[/color]Zboldz[b]z[/b]Zitalicz[i]z[/i]Z	underlinez[u]z[/u])Zstyler)r
�ttypeZndef�start�endrrr
r	;szBBCodeFormatter._make_stylesc	Cs�|jr|�d�|jr |�d�d}d}|D]\\}}||jvrF|j}q4||krX||7}q,|r�|j|\}}|�d�|||f��|}|}q,|r�|j|\}}|�d�|||f��|jr�|�d�|jr�|�d�|js�|jr�|�d�dS)Nz[code]z[font=monospace]rz[/font]z[/code]�
)r�writerr�parent�join)	r
ZtokensourceZoutfileZlastvalZlasttyper�valuerrrrr
�format_unencodedNs2





z BBCodeFormatter.format_unencodedN)
�__name__�
__module__�__qualname__�__doc__�name�aliases�	filenamesrr	rrrrr
rsN)rZpygments.formatterrZ
pygments.utilr�__all__rrrrr
�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit