Files
ServerSync/lib/pygments/formatters/__pycache__/bbcode.cpython-314.pyc

46 lines
4.3 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i<EFBFBD> <00><00>><00>Rt^RIHt^RIHtR.t!RR]4tR#)z<>
pygments.formatters.bbcode
~~~~~~~~~~~~~~~~~~~~~~~~~~
BBcode formatter.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)<01> Formatter)<01> get_bool_opt<70>BBCodeFormatterc<00>Fa<00>]tRt^toRtRtRR.t.tRtRt Rt
Rt Vt R #)
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``).
<EFBFBD>BBCode<64>bbcode<64>bbc <08><><00>\P!V3/VB\VRR4Vn\VRR4Vn/VnVP 4R#)<04>codetagF<67>monofontN)r<00>__init__r<00>_code<64>_mono<6E>styles<65> _make_styles)<02>self<6C>optionss&,<2C>A/tmp/pip-target-qd_sq_1j/lib/python/pygments/formatters/bbcode.pyr <00>BBCodeFormatter.__init__3sH<00><00><11><1A><1A>4<EFBFBD>+<2B>7<EFBFBD>+<2B>!<21>'<27>9<EFBFBD>e<EFBFBD><<3C><04>
<EFBFBD>!<21>'<27>:<3A>u<EFBFBD>=<3D><04>
<EFBFBD><18><04> <0B> <0C><19><19><1B>c<08><><00>VPF<>wrR;r4VR,'d)VRPVR,4, pRV,pVR,'dVR, pRV,pVR,'dVR, pR V,pVR
,'dVR , pR V,pW43VPV&K<> R #)<0E><00>colorz [color=#{}]z[/color]<5D>boldz[b]z[/b]<5D>italicz[i]z[/i]<5D> underlinez[u]z[/u]N)<03>style<6C>formatr)r<00>ttype<70>ndef<65>start<72>ends& rr<00>BBCodeFormatter._make_styles;s<><00><00><1F>:<3A>:<3A>K<EFBFBD>E<EFBFBD><1C> <1C>E<EFBFBD><13>G<EFBFBD>}<7D>}<7D><15><1D>-<2D>-<2D>d<EFBFBD>7<EFBFBD>m<EFBFBD><<3C><<3C><05> <20>3<EFBFBD>&<26><03><13>F<EFBFBD>|<7C>|<7C><15><15><0E><05><1C>s<EFBFBD>l<EFBFBD><03><13>H<EFBFBD>~<7E>~<7E><15><15><0E><05><1C>s<EFBFBD>l<EFBFBD><03><13>K<EFBFBD> <20> <20><15><15><0E><05><1C>s<EFBFBD>l<EFBFBD><03>"'<27><1A>D<EFBFBD>K<EFBFBD>K<EFBFBD><05> <1E>!&rc<08>
<00>VP'dVPR4VP'dVPR4RpRpVFvwrVWPP9dVPpKWT8Xd W6, pK3V'd8VPV,wrxVPRP WsV344TpTpKx V'd8VPV,wrxVPRP WsV344VP'dVPR4VP'dVPR4VP'gVP'dVPR4R#R#)z[code]z[font=monospace]rNz[/font]z[/code]<5D>
)r <00>writerr<00>parent<6E>join) r<00> tokensource<63>outfile<6C>lastval<61>lasttyper<00>valuer r!s &&& r<00>format_unencoded<65> BBCodeFormatter.format_unencodedNs<00><00> <0F>:<3A>:<3A>:<3A> <13>M<EFBFBD>M<EFBFBD>(<28> #<23> <0F>:<3A>:<3A>:<3A> <13>M<EFBFBD>M<EFBFBD>,<2C> -<2D><14><07><17><08>'<27>L<EFBFBD>E<EFBFBD><17>{<7B>{<7B>*<2A><1D> <0C> <0C><05><14> <20><17> <20><07><1A>!%<25><1B><1B>X<EFBFBD>!6<>J<EFBFBD>E<EFBFBD><1B>M<EFBFBD>M<EFBFBD>"<22>'<27>'<27>5<EFBFBD>3<EFBFBD>*?<3F>"@<40>A<><1F><07> <20><08>(<28> <13><1D><1B><1B>X<EFBFBD>.<2E>J<EFBFBD>E<EFBFBD> <13>M<EFBFBD>M<EFBFBD>"<22>'<27>'<27>5<EFBFBD>3<EFBFBD>"7<>8<> 9<> <0F>:<3A>:<3A>:<3A> <13>M<EFBFBD>M<EFBFBD>)<29> $<24> <0F>:<3A>:<3A>:<3A> <13>M<EFBFBD>M<EFBFBD>)<29> $<24> <0F>:<3A>:<3A>:<3A><14><1A><1A><1A> <13>M<EFBFBD>M<EFBFBD>$<24> <1F>$r)r rrN) <0A>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__<5F>name<6D>aliases<65> filenamesr rr-<00>__static_attributes__<5F>__classdictcell__)<01> __classdict__s@rrrs4<00><><00><00><08>8 <14>D<EFBFBD><17><14><1E>G<EFBFBD><12>I<EFBFBD><1C>,<2C>& <20> rN)r3<00>pygments.formatterr<00> pygments.utilr<00>__all__r<00>rr<00><module>r>s(<00><01><04>)<29>&<26> <1C>
<1D><07>Z <20>i<EFBFBD>Z r