module documentation

Highlight code blocks using Pygments.

Unknown Field: copyright
Copyright 2007-2022 by the Sphinx team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Variable escape​_hl​_chars Undocumented
Variable lexer​_classes Undocumented
Variable lexers Undocumented
Variable logger Undocumented
Class ​Pygments​Bridge Undocumented
Constant ​_LATEX​_ADD​_STYLES Undocumented
Constant ​_LATEX​_ADD​_STYLES​_FIXPYG Undocumented
escape_hl_chars =

Undocumented

lexer_classes: Dict[str, Lexer] =

Undocumented

lexers: Dict[str, Lexer] =

Undocumented

logger =

Undocumented

_LATEX_ADD_STYLES: str =

Undocumented

Value
'''
\\renewcommand\\PYGZsq{\\textquotesingle}
'''
_LATEX_ADD_STYLES_FIXPYG: str =

Undocumented

Value
'''
\\makeatletter
% fix for Pygments <= 2.7.4
\\let\\spx@original@fcolorbox\\fcolorbox
\\def\\spx@fixpyg@fcolorbox{\\fboxsep-\\fboxrule\\spx@original@fcolorbox}
\\def\\PYG#1#2{\\PYG@reset\\PYG@toks#1+\\relax+%
             {\\let\\fcolorbox\\spx@fixpyg@fcolorbox\\PYG@do{#2}}}
...