argparse.HelpFormatter
pygments.cmdline.HelpFormatter
- Undocumenteddocutils.parsers.rst.Directive
pygments.sphinxext.PygmentsDoc
- A directive to collect all lexers/formatters/filters and generate autoclass directives for them.Exception
pygments.filters.ErrorToken
- Undocumentedpygments.formatters.img.FontNotFound
- When there are no usable fonts specifiedpygments.util.OptionError
- UndocumentedImportError
pygments.formatters.img.PilNotAvailable
- When Python imaging library is not availableio.TextIOWrapper
pygments.util.UnclosingTextIOWrapper
- Undocumentedobjective(CLexer)
pygments.lexers.objective.ObjectiveCLexer
- For Objective-C source code with preprocessor directives.objective(CppLexer)
pygments.lexers.objective.ObjectiveCppLexer
- For Objective-C++ source code with preprocessor directives.pygments.lexers.objective.LogosLexer
- For Logos + Objective-C source code with preprocessor directives.pygments.filter.Filter
- Default filter. Subclass this class or use the simplefilter
decorator to create own filters.pygments.filter.FunctionFilter
- No summarypygments.filters.CodeTagFilter
- Highlight special code tags in comments and docstrings.pygments.filters.GobbleFilter
- Gobbles source code lines (eats initial characters).pygments.filters.KeywordCaseFilter
- Convert keywords to lowercase or uppercase or capitalize them, which means first letter uppercase, rest lowercase.pygments.filters.NameHighlightFilter
- Highlight a normal Name (and Name.*) token with a different token type.pygments.filters.RaiseOnErrorTokenFilter
- Raise an exception when the lexer generates an error token.pygments.filters.SymbolFilter
- Convert mathematical symbols such as <longrightarrow> in Isabelle or longrightarrow in LaTeX into Unicode characters.pygments.filters.TokenMergeFilter
- Merges consecutive tokens with the same token type in the output stream of a lexer.pygments.filters.VisibleWhitespaceFilter
- Convert tabs, newlines and/or spaces to visible characters.pygments.formatter.Formatter
- Converts a token stream to text.pygments.formatters.bbcode.BBCodeFormatter
- 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.pygments.formatters.groff.GroffFormatter
- Format tokens with groff escapes to change their color and font style.pygments.formatters.html.HtmlFormatter
- 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.pygments.formatters.img.ImageFormatter
- Create a PNG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.pygments.formatters.img.BmpImageFormatter
- Create a bitmap image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.pygments.formatters.img.GifImageFormatter
- Create a GIF image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.pygments.formatters.img.JpgImageFormatter
- Create a JPEG image from source code. This uses the Python Imaging Library to generate a pixmap from the source code.pygments.formatters.irc.IRCFormatter
- Format tokens with IRC color sequencespygments.formatters.latex.LatexFormatter
- Format tokens as LaTeX code. This needs the fancyvrb
and color
standard packages.pygments.formatters.other.NullFormatter
- Output the text unchanged without any formatting.pygments.formatters.other.RawTokenFormatter
- Format tokens as a raw representation for storing token streams.pygments.formatters.other.TestcaseFormatter
- Format tokens as appropriate for a new testcase.pygments.formatters.pangomarkup.PangoMarkupFormatter
- Format tokens as Pango Markup code. It can then be rendered to an SVG.pygments.formatters.rtf.RtfFormatter
- 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.pygments.formatters.svg.SvgFormatter
- 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.pygments.formatters.terminal.TerminalFormatter
- 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.pygments.formatters.terminal256.Terminal256Formatter
- 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.pygments.formatters.terminal256.TerminalTrueColorFormatter
- 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.pygments.formatters.img.FontManager
- Manages a set of fonts: normal, italic, bold, etc...pygments.formatters.terminal256.EscapeSequence
- Undocumentedpygments.lexer._inherit
- Indicates the a state should inherit from its superclass.pygments.lexer._PseudoMatch
- A pseudo match object constructed from a string.pygments.lexer._This
- Special singleton used for indicating the caller class. Used by using.pygments.lexer.default
- Indicates a state or state action (e.g. #pop) to apply. For example default('#pop') is equivalent to ('', Token, '#pop') Note that state tuples may be used as well.pygments.lexer.Lexer
- Lexer for a specific language.pygments.formatters.latex.LatexEmbeddedLexer
- This lexer takes one lexer as argument, the lexer for the language being formatted, and the left and right delimiters for escaped text.pygments.lexer.DelegatingLexer
- No summarypygments.lexers.asm.CObjdumpLexer
- For the output of objdump -Sr on compiled C files.pygments.lexers.asm.CppObjdumpLexer
- For the output of objdump -Sr on compiled C++ files.pygments.lexers.asm.DObjdumpLexer
- For the output of objdump -Sr on compiled D files.pygments.lexers.dotnet.CSharpAspxLexer
- Lexer for highlighting C# within ASP.NET pages.pygments.lexers.dotnet.VbNetAspxLexer
- Lexer for highlighting Visual Basic.net within ASP.NET pages.pygments.lexers.email.EmailLexer
- Lexer for raw E-mail.pygments.lexers.markup.MozPreprocCssLexer
- Subclass of the MozPreprocHashLexer
that highlights unlexed data with the CssLexer
.pygments.lexers.markup.MozPreprocJavascriptLexer
- Subclass of the MozPreprocHashLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.markup.MozPreprocXulLexer
- Subclass of the MozPreprocHashLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.parsers.AntlrActionScriptLexer
- `ANTLR`_ with ActionScript Targetpygments.lexers.parsers.AntlrCppLexer
- `ANTLR`_ with CPP Targetpygments.lexers.parsers.AntlrCSharpLexer
- `ANTLR`_ with C# Targetpygments.lexers.parsers.AntlrJavaLexer
- `ANTLR`_ with Java Targetpygments.lexers.parsers.AntlrObjectiveCLexer
- `ANTLR`_ with Objective-C Targetpygments.lexers.parsers.AntlrPerlLexer
- `ANTLR`_ with Perl Targetpygments.lexers.parsers.AntlrPythonLexer
- `ANTLR`_ with Python Targetpygments.lexers.parsers.AntlrRubyLexer
- `ANTLR`_ with Ruby Targetpygments.lexers.parsers.RagelCLexer
- A lexer for `Ragel`_ in a C host file.pygments.lexers.parsers.RagelCppLexer
- A lexer for `Ragel`_ in a CPP host file.pygments.lexers.parsers.RagelDLexer
- A lexer for `Ragel`_ in a D host file.pygments.lexers.parsers.RagelJavaLexer
- A lexer for `Ragel`_ in a Java host file.pygments.lexers.parsers.RagelObjectiveCLexer
- A lexer for `Ragel`_ in an Objective C host file.pygments.lexers.parsers.RagelRubyLexer
- A lexer for `Ragel`_ in a Ruby host file.pygments.lexers.parsers.TreetopLexer
- A lexer for Treetop grammars.pygments.lexers.slash.SlashLexer
- Lexer for the Slash programming language.pygments.lexers.templates.Angular2HtmlLexer
- Subclass of the Angular2Lexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.CheetahHtmlLexer
- Subclass of the CheetahLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.CheetahJavascriptLexer
- Subclass of the CheetahLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.CheetahXmlLexer
- Subclass of the CheetahLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.ColdfusionCFCLexer
- Coldfusion markup/script componentspygments.lexers.templates.ColdfusionHtmlLexer
- Coldfusion markup in htmlpygments.lexers.templates.CssDjangoLexer
- Subclass of the DjangoLexer
that highlights unlexed data with the CssLexer
.pygments.lexers.templates.CssErbLexer
- Subclass of ErbLexer
which highlights unlexed data with the CssLexer
.pygments.lexers.templates.CssGenshiLexer
- A lexer that highlights CSS definitions in genshi text templates.pygments.lexers.templates.CssPhpLexer
- Subclass of PhpLexer
which highlights unmatched data with the CssLexer
.pygments.lexers.templates.CssSmartyLexer
- Subclass of the SmartyLexer
that highlights unlexed data with the CssLexer
.pygments.lexers.templates.EvoqueHtmlLexer
- Subclass of the EvoqueLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.EvoqueXmlLexer
- Subclass of the EvoqueLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.GenshiLexer
- A lexer that highlights genshi and kid kid XML templates.pygments.lexers.templates.HandlebarsHtmlLexer
- Subclass of the HandlebarsLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.HtmlDjangoLexer
- Subclass of the DjangoLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.HtmlGenshiLexer
- A lexer that highlights genshi and kid kid HTML templates.pygments.lexers.templates.HtmlPhpLexer
- Subclass of PhpLexer
that highlights unhandled data with the HtmlLexer
.pygments.lexers.templates.HtmlSmartyLexer
- Subclass of the SmartyLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.JavascriptDjangoLexer
- Subclass of the DjangoLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.JavascriptErbLexer
- Subclass of ErbLexer
which highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.JavascriptGenshiLexer
- A lexer that highlights javascript code in genshi text templates.pygments.lexers.templates.JavascriptPhpLexer
- Subclass of PhpLexer
which highlights unmatched data with the JavascriptLexer
.pygments.lexers.templates.JavascriptSmartyLexer
- Subclass of the SmartyLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.JspLexer
- Lexer for Java Server Pages.pygments.lexers.templates.LassoCssLexer
- Subclass of the LassoLexer
which highlights unhandled data with the CssLexer
.pygments.lexers.templates.LassoHtmlLexer
- Subclass of the LassoLexer
which highlights unhandled data with the HtmlLexer
.pygments.lexers.templates.LassoJavascriptLexer
- Subclass of the LassoLexer
which highlights unhandled data with the JavascriptLexer
.pygments.lexers.templates.LassoXmlLexer
- Subclass of the LassoLexer
which highlights unhandled data with the XmlLexer
.pygments.lexers.templates.MakoCssLexer
- Subclass of the MakoLexer
that highlights unlexed data with the CssLexer
.pygments.lexers.templates.MakoHtmlLexer
- Subclass of the MakoLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.MakoJavascriptLexer
- Subclass of the MakoLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.MakoXmlLexer
- Subclass of the MakoLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.MyghtyCssLexer
- Subclass of the MyghtyLexer
that highlights unlexed data with the CssLexer
.pygments.lexers.templates.MyghtyHtmlLexer
- Subclass of the MyghtyLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.MyghtyJavascriptLexer
- Subclass of the MyghtyLexer
that highlights unlexed data with the JavascriptLexer
.pygments.lexers.templates.MyghtyXmlLexer
- Subclass of the MyghtyLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.RhtmlLexer
- Subclass of the ERB lexer that highlights the unlexed data with the html lexer.pygments.lexers.templates.SspLexer
- Lexer for Scalate Server Pages.pygments.lexers.templates.TeaTemplateLexer
- Lexer for Tea Templates.pygments.lexers.templates.TwigHtmlLexer
- Subclass of the TwigLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.VelocityHtmlLexer
- Subclass of the VelocityLexer
that highlights unlexed data with the HtmlLexer
.pygments.lexers.templates.VelocityXmlLexer
- Subclass of the VelocityLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.XmlDjangoLexer
- Subclass of the DjangoLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.XmlErbLexer
- Subclass of ErbLexer
which highlights data outside preprocessor directives with the XmlLexer
.pygments.lexers.templates.XmlPhpLexer
- Subclass of PhpLexer
that highlights unhandled data with the XmlLexer
.pygments.lexers.templates.XmlSmartyLexer
- Subclass of the SmartyLexer
that highlights unlexed data with the XmlLexer
.pygments.lexers.templates.YamlJinjaLexer
- Subclass of the DjangoLexer
that highlights unlexed data with the YamlLexer
.pygments.lexer.RegexLexer
- Base for simple stateful regular expression-based lexers. Simplifies the lexing process so that you need only provide a list of states and regular expressions.pygments.lexer.ExtendedRegexLexer
- A RegexLexer that uses a context object to store its state.pygments.lexers.bibtex.BibTeXLexer
- A lexer for BibTeX bibliography data format.pygments.lexers.clean.CleanLexer
- Lexer for the general purpose, state-of-the-art, pure and lazy functional programming language Clean (http://clean.cs.ru.nl/Clean).pygments.lexers.configs.TerraformLexer
- Lexer for terraformi .tf files.pygments.lexers.crystal.CrystalLexer
- For Crystal source code.pygments.lexers.css.SassLexer
- For Sass stylesheets.pygments.lexers.data.YamlLexer
- Lexer for YAML, a human-friendly data serialization language.pygments.lexers.dsls.SnowballLexer
- Lexer for Snowball source code.pygments.lexers.haxe.HaxeLexer
- For Haxe source code (http://haxe.org/).pygments.lexers.html.HamlLexer
- For Haml markup.pygments.lexers.html.PugLexer
- For Pug markup. Pug is a variant of Scaml, see: http://scalate.fusesource.org/documentation/scaml-reference.htmlpygments.lexers.html.ScamlLexer
- For Scaml markup. Scaml is Haml for Scala.pygments.lexers.perl.Perl6Lexer
- For Raku (a.k.a. Perl 6) source code.pygments.lexers.ruby.RubyLexer
- For Ruby source code.pygments.lexers.slash.SlashLanguageLexer
- Undocumentedpygments.lexers.urbi.UrbiscriptLexer
- For UrbiScript source code.pygments.lexers.webmisc.SlimLexer
- For Slim markup.pygments.lexers.webmisc.XQueryLexer
- An XQuery lexer, parsing a stream and outputting the tokens needed to highlight xquery code.pygments.lexer.ProfilingRegexLexer
- Drop-in replacement for RegexLexer that does profiling of its regexes.pygments.lexers.actionscript.ActionScript3Lexer
- For ActionScript 3 source code.pygments.lexers.actionscript.ActionScriptLexer
- For ActionScript source code.pygments.lexers.actionscript.MxmlLexer
- For MXML markup. Nested AS3 in <script> tags is highlighted by the appropriate lexer.pygments.lexers.algebra.BCLexer
- A BC lexer.pygments.lexers.algebra.GAPLexer
- For GAP source code.pygments.lexers.algebra.MathematicaLexer
- Lexer for Mathematica source code.pygments.lexers.algebra.MuPADLexer
- A MuPAD lexer. Contributed by Christopher Creutzig <christopher@creutzig.de>.pygments.lexers.ambient.AmbientTalkLexer
- Lexer for AmbientTalk source code.pygments.lexers.amdgpu.AMDGPULexer
- For AMD GPU assembly.pygments.lexers.ampl.AmplLexer
- For AMPL source code.pygments.lexers.apdlexer.apdlexer
- For APDL source code.pygments.lexers.apl.APLLexer
- A simple APL lexer.pygments.lexers.archetype.AtomsLexer
- Lexer for Values used in ADL and ODIN.pygments.lexers.archetype.AdlLexer
- Lexer for ADL syntax.pygments.lexers.archetype.CadlLexer
- Lexer for cADL syntax.pygments.lexers.archetype.OdinLexer
- Lexer for ODIN syntax.pygments.lexers.arrow.ArrowLexer
- Lexer for Arrow: https://pypi.org/project/py-arrow-lang/pygments.lexers.asc.AscLexer
- Lexer for ASCII armored files, containing -----BEGIN/END ...-----
wrapped base64 data.pygments.lexers.asm.Ca65Lexer
- For ca65 assembler sources.pygments.lexers.asm.Dasm16Lexer
- For DCPU-16 Assembly.pygments.lexers.asm.GasLexer
- For Gas (AT&T) assembly code.pygments.lexers.asm.HsailLexer
- For HSAIL assembly code.pygments.lexers.asm.LlvmLexer
- For LLVM assembly code.pygments.lexers.asm.LlvmMirBodyLexer
- For LLVM MIR examples without the YAML wrapper.pygments.lexers.asm.LlvmMirLexer
- Lexer for the overall LLVM MIR document format.pygments.lexers.asm.NasmLexer
- For Nasm (Intel) assembly code.pygments.lexers.asm.ObjdumpLexer
- For the output of objdump -dr.pygments.lexers.asm.NasmObjdumpLexer
- For the output of objdump -d -M intel.pygments.lexers.asm.TasmLexer
- For Tasm (Turbo Assembler) assembly code.pygments.lexers.automation.AutohotkeyLexer
- For autohotkey source code.pygments.lexers.automation.AutoItLexer
- For AutoIt files.pygments.lexers.bare.BareLexer
- For BARE schema schema source.pygments.lexers.basic.BBCBasicLexer
- BBC Basic was supplied on the BBC Micro, and later Acorn RISC OS. It is also used by BBC Basic For Windows.pygments.lexers.basic.BlitzBasicLexer
- For BlitzBasic source code.pygments.lexers.basic.BlitzMaxLexer
- For BlitzMax source code.pygments.lexers.basic.CbmBasicV2Lexer
- For CBM BASIC V2 sources.pygments.lexers.basic.MonkeyLexer
- For Monkey source code.pygments.lexers.basic.QBasicLexer
- For QBasic source code.pygments.lexers.basic.VBScriptLexer
- VBScript is scripting language that is modeled on Visual Basic.pygments.lexers.bdd.BddLexer
- Lexer for BDD(Behavior-driven development), which highlights not only keywords, but also comments, punctuations, strings, numbers, and variables.pygments.lexers.bibtex.BSTLexer
- A lexer for BibTeX bibliography styles.pygments.lexers.boa.BoaLexer
- Lexer for the Boa language.pygments.lexers.business.ABAPLexer
- Lexer for ABAP, SAP's integrated language.pygments.lexers.business.CobolLexer
- Lexer for OpenCOBOL code.pygments.lexers.business.CobolFreeformatLexer
- Lexer for Free format OpenCOBOL code.pygments.lexers.business.GoodDataCLLexer
- Lexer for GoodData-CL script files.pygments.lexers.business.MaqlLexer
- Lexer for GoodData MAQL scripts.pygments.lexers.business.OpenEdgeLexer
- Lexer for OpenEdge ABL (formerly Progress) source code.pygments.lexers.c_cpp.CFamilyLexer
- For C family source code. This is used as a base class to avoid repetitious definitions.pygments.lexers.c_cpp.CLexer
- For C source code with preprocessor directives.pygments.lexers.c_like.CudaLexer
- For NVIDIA CUDA™ source.pygments.lexers.c_like.ECLexer
- For eC source code with preprocessor directives.pygments.lexers.c_like.NesCLexer
- For nesC source code with preprocessor directives.pygments.lexers.c_like.OmgIdlLexer
- Lexer for Object Management Group Interface Definition Language.pygments.lexers.c_cpp.CppLexer
- For C++ source code with preprocessor directives.pygments.lexers.c_like.ArduinoLexer
- For Arduino(tm) source.pygments.lexers.c_like.CharmciLexer
- For Charm++ interface files (.ci).pygments.lexers.c_like.MqlLexer
- For MQL4 and MQL5 source code.pygments.lexers.c_like.PikeLexer
- For Pike source code.pygments.lexers.c_like.SwigLexer
- For SWIG source code.pygments.lexers.freefem.FreeFemLexer
- For FreeFem++ source.pygments.lexers.c_like.ClayLexer
- For Clay source.pygments.lexers.c_like.ValaLexer
- For Vala source code with preprocessor directives.pygments.lexers.capnproto.CapnProtoLexer
- For Cap'n Proto source.pygments.lexers.cddl.CddlLexer
- Lexer for CDDL definitions.pygments.lexers.chapel.ChapelLexer
- For Chapel source.pygments.lexers.configs.ApacheConfLexer
- Lexer for configuration files following the Apache config file format.pygments.lexers.configs.AugeasLexer
- Lexer for Augeas.pygments.lexers.configs.Cfengine3Lexer
- Lexer for CFEngine3 policy files.pygments.lexers.configs.DockerLexer
- Lexer for Docker configuration files.pygments.lexers.configs.IniLexer
- Lexer for configuration files in INI style.pygments.lexers.configs.KconfigLexer
- For Linux-style Kconfig files.pygments.lexers.configs.LighttpdConfLexer
- Lexer for Lighttpd configuration files.pygments.lexers.configs.NestedTextLexer
- Lexer for NextedText, a human-friendly data format.pygments.lexers.configs.NginxConfLexer
- Lexer for Nginx configuration files.pygments.lexers.configs.PacmanConfLexer
- Lexer for pacman.conf.pygments.lexers.configs.PkgConfigLexer
- Lexer for pkg-config (see also manual page).pygments.lexers.configs.PropertiesLexer
- Lexer for configuration files in Java's properties format.pygments.lexers.configs.RegeditLexer
- Lexer for Windows Registry files produced by regedit.pygments.lexers.configs.SingularityLexer
- Lexer for Singularity definition files.pygments.lexers.configs.SquidConfLexer
- Lexer for squid configuration files.pygments.lexers.configs.TermcapLexer
- Lexer for termcap database source.pygments.lexers.configs.TerminfoLexer
- Lexer for terminfo database source.pygments.lexers.configs.TOMLLexer
- Lexer for TOML, a simple language for config files.pygments.lexers.console.PyPyLogLexer
- Lexer for PyPy log files.pygments.lexers.console.VCTreeStatusLexer
- For colorizing output of version control status commands, like "hg status" or "svn status".pygments.lexers.csound.CsoundDocumentLexer
- For Csound documents.pygments.lexers.csound.CsoundLexer
- Undocumentedpygments.lexers.csound.CsoundOrchestraLexer
- For Csound orchestras.pygments.lexers.csound.CsoundScoreLexer
- For Csound scores.pygments.lexers.css.CssLexer
- For CSS (Cascading Style Sheets).pygments.lexers.css.LessCssLexer
- For LESS styleshets.pygments.lexers.css.ScssLexer
- For SCSS stylesheets.pygments.lexers.d.CrocLexer
- For Croc source.pygments.lexers.d.MiniDLexer
- For MiniD source. MiniD is now known as Croc.pygments.lexers.d.DLexer
- For D source.pygments.lexers.dalvik.SmaliLexer
- For Smali (Android/Dalvik) assembly code.pygments.lexers.devicetree.DevicetreeLexer
- Lexer for Devicetree files.pygments.lexers.diff.DarcsPatchLexer
- DarcsPatchLexer is a lexer for the various versions of the darcs patch format. Examples of this format are derived by commands such as darcs annotate --patch and darcs send.pygments.lexers.diff.DiffLexer
- Lexer for unified or context-style diffs or patches.pygments.lexers.diff.WDiffLexer
- A wdiff lexer.pygments.lexers.dotnet.BooLexer
- For Boo source code.pygments.lexers.dotnet.CSharpLexer
- For C# source code.pygments.lexers.dotnet.FSharpLexer
- For the F# language (version 3.0).pygments.lexers.dotnet.GenericAspxLexer
- Lexer for ASP.NET pages.pygments.lexers.dotnet.NemerleLexer
- For Nemerle source code.pygments.lexers.dotnet.VbNetLexer
- For Visual Basic.NET source code.pygments.lexers.dsls.AlloyLexer
- For Alloy source code.pygments.lexers.dsls.CrmshLexer
- Lexer for crmsh configuration files for Pacemaker clusters.pygments.lexers.dsls.FlatlineLexer
- Lexer for Flatline expressions.pygments.lexers.dsls.MscgenLexer
- For Mscgen files.pygments.lexers.dsls.PanLexer
- Lexer for pan source files.pygments.lexers.dsls.ProtoBufLexer
- Lexer for Protocol Buffer definition files.pygments.lexers.dsls.PuppetLexer
- For Puppet configuration DSL.pygments.lexers.dsls.RslLexer
- RSL is the formal specification language used in RAISE (Rigorous Approach to Industrial Software Engineering) method.pygments.lexers.dsls.ThriftLexer
- For Thrift interface definitions.pygments.lexers.dsls.VGLLexer
- For SampleManager VGL source code.pygments.lexers.dsls.ZeekLexer
- For Zeek scripts.pygments.lexers.dylan.DylanLexer
- For the Dylan language.pygments.lexers.dylan.DylanLidLexer
- For Dylan LID (Library Interchange Definition) files.pygments.lexers.ecl.ECLLexer
- Lexer for the declarative big-data ECL language.pygments.lexers.eiffel.EiffelLexer
- For Eiffel source code.pygments.lexers.elm.ElmLexer
- For Elm source code.pygments.lexers.elpi.ElpiLexer
- Lexer for the Elpi programming language.pygments.lexers.email.EmailHeaderLexer
- Sub-lexer for raw E-mail. This lexer only process header part of e-mail.pygments.lexers.erlang.ElixirLexer
- For the Elixir language.pygments.lexers.erlang.ErlangLexer
- For the Erlang functional programming language.pygments.lexers.esoteric.AheuiLexer
- Aheui_ Lexer.pygments.lexers.esoteric.BefungeLexer
- Lexer for the esoteric Befunge language.pygments.lexers.esoteric.BrainfuckLexer
- Lexer for the esoteric BrainFuck language.pygments.lexers.esoteric.CAmkESLexer
- Basic lexer for the input language for the CAmkES component platform.pygments.lexers.esoteric.CapDLLexer
- Basic lexer for CapDL.pygments.lexers.esoteric.RedcodeLexer
- A simple Redcode lexer based on ICWS'94. Contributed by Adam Blinkinsop <blinks@acm.org>.pygments.lexers.ezhil.EzhilLexer
- Lexer for Ezhil, a Tamil script-based programming languagepygments.lexers.factor.FactorLexer
- Lexer for the Factor language.pygments.lexers.fantom.FantomLexer
- For Fantom source code.pygments.lexers.felix.FelixLexer
- For Felix source code.pygments.lexers.floscript.FloScriptLexer
- For FloScript configuration language source code.pygments.lexers.forth.ForthLexer
- Lexer for Forth files.pygments.lexers.fortran.FortranFixedLexer
- Lexer for fixed format Fortran.pygments.lexers.fortran.FortranLexer
- Lexer for FORTRAN 90 code.pygments.lexers.foxpro.FoxProLexer
- Lexer for Microsoft Visual FoxPro language.pygments.lexers.futhark.FutharkLexer
- A Futhark lexerpygments.lexers.gcodelexer.GcodeLexer
- For gcode source code.pygments.lexers.gdscript.GDScriptLexer
- For GDScript source code.pygments.lexers.go.GoLexer
- For Go source.pygments.lexers.grammar_notation.AbnfLexer
- No summarypygments.lexers.grammar_notation.BnfLexer
- This lexer is for grammar notations which are similar to original BNF.pygments.lexers.grammar_notation.JsgfLexer
- For JSpeech Grammar Format grammars.pygments.lexers.grammar_notation.PegLexer
- This lexer is for Parsing Expression Grammars (PEG).pygments.lexers.graph.CypherLexer
- For Cypher Query Languagepygments.lexers.graphics.AsymptoteLexer
- For Asymptote source code.pygments.lexers.graphics.GLShaderLexer
- GLSL (OpenGL Shader) lexer.pygments.lexers.graphics.GnuplotLexer
- For Gnuplot plotting scripts.pygments.lexers.graphics.HLSLShaderLexer
- HLSL (Microsoft Direct3D Shader) lexer.pygments.lexers.graphics.PostScriptLexer
- Lexer for PostScript files.pygments.lexers.graphics.PovrayLexer
- For Persistence of Vision Raytracer files.pygments.lexers.graphviz.GraphvizLexer
- For graphviz DOT graph description language.pygments.lexers.gsql.GSQLLexer
- For GSQL queries (version 3.x). .. versionadded:: 2.10pygments.lexers.haskell.AgdaLexer
- For the Agda dependently typed functional programming language and proof assistant.pygments.lexers.haskell.CryptolLexer
- FIXME: A Cryptol2 lexer based on the lexemes defined in the Haskell 98 Report.pygments.lexers.haskell.HaskellLexer
- A Haskell lexer based on the lexemes defined in the Haskell 98 Report.pygments.lexers.haskell.HspecLexer
- A Haskell lexer with support for Hspec constructs.pygments.lexers.haskell.IdrisLexer
- A lexer for the dependently typed programming language Idris.pygments.lexers.haskell.KokaLexer
- Lexer for the Koka language.pygments.lexers.haxe.HxmlLexer
- Lexer for haXe build files.pygments.lexers.hdl.SystemVerilogLexer
- Extends verilog lexer to recognise all SystemVerilog keywords from IEEE 1800-2009 standard.pygments.lexers.hdl.VerilogLexer
- For verilog source code with preprocessor directives.pygments.lexers.hdl.VhdlLexer
- For VHDL source code.pygments.lexers.hexdump.HexdumpLexer
- For typical hex dump output formats by the UNIX and GNU/Linux tools hexdump, hd, hexcat, od and xxd, and the DOS tool DEBUG. For example:pygments.lexers.html.DtdLexer
- A lexer for DTDs (Document Type Definitions).pygments.lexers.html.HtmlLexer
- For HTML 4 and XHTML 1 markup. Nested JavaScript and CSS is highlighted by the appropriate lexer.pygments.lexers.html.XmlLexer
- Generic lexer for XML (eXtensible Markup Language).pygments.lexers.html.XsltLexer
- A lexer for XSLT.pygments.lexers.idl.IDLLexer
- Pygments Lexer for IDL (Interactive Data Language).pygments.lexers.igor.IgorLexer
- Pygments Lexer for Igor Pro procedure files (.ipf). See http://www.wavemetrics.com/ and http://www.igorexchange.com/.pygments.lexers.inferno.LimboLexer
- Lexer for Limbo programming languagepygments.lexers.installers.DebianControlLexer
- Lexer for Debian control files and apt-cache show <pkg> outputs.pygments.lexers.installers.NSISLexer
- For NSIS scripts.pygments.lexers.installers.RPMSpecLexer
- For RPM .spec files.pygments.lexers.installers.SourcesListLexer
- Lexer that highlights debian sources.list files.pygments.lexers.int_fiction.Inform6Lexer
- For Inform 6 source code.pygments.lexers.int_fiction.Inform7Lexer
- For Inform 7 source code.pygments.lexers.int_fiction.Tads3Lexer
- For TADS 3 source code.pygments.lexers.iolang.IoLexer
- For Io (a small, prototype-based programming language) source.pygments.lexers.j.JLexer
- For J source code.pygments.lexers.javascript.CoffeeScriptLexer
- For `CoffeeScript`_ source code.pygments.lexers.javascript.DartLexer
- For Dart source code.pygments.lexers.javascript.EarlGreyLexer
- For `Earl-Grey`_ source code.pygments.lexers.javascript.JavascriptLexer
- For JavaScript source code.pygments.lexers.javascript.TypeScriptLexer
- For TypeScript source code.pygments.lexers.javascript.JuttleLexer
- For `Juttle`_ source code.pygments.lexers.javascript.KalLexer
- For `Kal`_ source code.pygments.lexers.javascript.LassoLexer
- For Lasso source code, covering both Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier. For Lasso embedded in HTML, use the LassoHtmlLexer
.pygments.lexers.javascript.LiveScriptLexer
- For `LiveScript`_ source code.pygments.lexers.javascript.MaskLexer
- For Mask markup.pygments.lexers.javascript.ObjectiveJLexer
- For Objective-J source code with preprocessor directives.pygments.lexers.jslt.JSLTLexer
- For JSLT source.pygments.lexers.julia.JuliaLexer
- For Julia source code.pygments.lexers.jvm.CeylonLexer
- For Ceylon source code.pygments.lexers.jvm.ClojureLexer
- Lexer for Clojure source code.pygments.lexers.jvm.ClojureScriptLexer
- Lexer for ClojureScript source code.pygments.lexers.jvm.GoloLexer
- For Golo source code.pygments.lexers.jvm.GosuLexer
- For Gosu source code.pygments.lexers.jvm.GroovyLexer
- For Groovy source code.pygments.lexers.jvm.IokeLexer
- For Ioke (a strongly typed, dynamic, prototype based programming language) source.pygments.lexers.jvm.JasminLexer
- For Jasmin assembly code.pygments.lexers.jvm.JavaLexer
- For Java source code.pygments.lexers.jvm.AspectJLexer
- For AspectJ source code.pygments.lexers.jvm.KotlinLexer
- For Kotlin source code.pygments.lexers.jvm.PigLexer
- For Pig Latin source code.pygments.lexers.jvm.SarlLexer
- For SARL source code.pygments.lexers.jvm.ScalaLexer
- For Scala source code.pygments.lexers.jvm.TeaLangLexer
- For Tea source code. Only used within a TeaTemplateLexer.pygments.lexers.jvm.XtendLexer
- For Xtend source code.pygments.lexers.kuin.KuinLexer
- For Kuin source codepygments.lexers.lisp.CommonLispLexer
- A Common Lisp lexer.pygments.lexers.lisp.CPSALexer
- A CPSA lexer based on the CPSA language as of version 2.2.12pygments.lexers.lisp.EmacsLispLexer
- An ELisp lexer, parsing a stream and outputting the tokens needed to highlight elisp code.pygments.lexers.lisp.FennelLexer
- A lexer for the Fennel programming language.pygments.lexers.lisp.HyLexer
- Lexer for Hy source code.pygments.lexers.lisp.NewLispLexer
- For newLISP. source code (version 10.3.0).pygments.lexers.lisp.RacketLexer
- Lexer for Racket source code (formerly known as PLT Scheme).pygments.lexers.lisp.SchemeLexer
- No summarypygments.lexers.lilypond.LilyPondLexer
- Lexer for input to LilyPond, a text-based music typesetter.pygments.lexers.lisp.ShenLexer
- Lexer for Shen source code.pygments.lexers.lisp.XtlangLexer
- An xtlang lexer for the Extempore programming environment.pygments.lexers.make.BaseMakefileLexer
- Lexer for simple Makefiles (no preprocessing).pygments.lexers.make.CMakeLexer
- Lexer for CMake files.pygments.lexers.markup.BBCodeLexer
- A lexer that highlights BBCode(-like) syntax.pygments.lexers.markup.GroffLexer
- Lexer for the (g)roff typesetting language, supporting groff extensions. Mainly useful for highlighting manpage sources.pygments.lexers.markup.MarkdownLexer
- For Markdown markup.pygments.lexers.markup.MoinWikiLexer
- For MoinMoin (and Trac) Wiki markup.pygments.lexers.markup.MozPreprocHashLexer
- Lexer for Mozilla Preprocessor files (with '#' as the marker).pygments.lexers.markup.MozPreprocPercentLexer
- Lexer for Mozilla Preprocessor files (with '%' as the marker).pygments.lexers.markup.RstLexer
- For reStructuredText markup.pygments.lexers.markup.TexLexer
- Lexer for the TeX and LaTeX typesetting languages.pygments.lexers.markup.TiddlyWiki5Lexer
- For TiddlyWiki5 markup.pygments.lexers.matlab.MatlabLexer
- For Matlab source code.pygments.lexers.matlab.OctaveLexer
- For GNU Octave source code.pygments.lexers.matlab.ScilabLexer
- For Scilab source code.pygments.lexers.maxima.MaximaLexer
- A Maxima lexer. Derived from pygments.lexers.MuPADLexer.pygments.lexers.meson.MesonLexer
- No summarypygments.lexers.mime.MIMELexer
- Lexer for Multipurpose Internet Mail Extensions (MIME) data. This lexer is designed to process nested multipart data.pygments.lexers.ml.FStarLexer
- For the F* language (https://www.fstar-lang.org/). .. versionadded:: 2.7pygments.lexers.ml.OcamlLexer
- For the OCaml language.pygments.lexers.ml.OpaLexer
- Lexer for the Opa language (http://opalang.org).pygments.lexers.ml.ReasonLexer
- For the ReasonML language (https://reasonml.github.io/).pygments.lexers.ml.SMLLexer
- For the Standard ML language.pygments.lexers.modeling.BugsLexer
- Pygments Lexer for OpenBugs and WinBugs models.pygments.lexers.modeling.JagsLexer
- Pygments Lexer for JAGS.pygments.lexers.modeling.ModelicaLexer
- For Modelica source code.pygments.lexers.modeling.StanLexer
- Pygments Lexer for Stan models.pygments.lexers.modula2.Modula2Lexer
- For Modula-2 source code.pygments.lexers.monte.MonteLexer
- Lexer for the Monte programming language.pygments.lexers.mosel.MoselLexer
- For the Mosel optimization language.pygments.lexers.ncl.NCLLexer
- Lexer for NCL code.pygments.lexers.nimrod.NimrodLexer
- For Nim source code.pygments.lexers.nit.NitLexer
- For nit source.pygments.lexers.nix.NixLexer
- For the Nix language.pygments.lexers.oberon.ComponentPascalLexer
- For Component Pascal source code.pygments.lexers.objective.SwiftLexer
- For Swift source.pygments.lexers.ooc.OocLexer
- For Ooc source codepygments.lexers.parasail.ParaSailLexer
- For ParaSail source code.pygments.lexers.parsers.AntlrLexer
- Generic `ANTLR`_ Lexer. Should not be called directly, instead use DelegatingLexer for your target language.pygments.lexers.parsers.EbnfLexer
- Lexer for ISO/IEC 14977 EBNF grammars.pygments.lexers.parsers.RagelEmbeddedLexer
- A lexer for `Ragel`_ embedded in a host language file.pygments.lexers.parsers.RagelLexer
- A pure Ragel lexer. Use this for fragments of Ragel. For .rl files, use RagelEmbeddedLexer instead (or one of the language-specific subclasses).pygments.lexers.parsers.TreetopBaseLexer
- A base lexer for Treetop grammars. Not for direct use; use TreetopLexer instead.pygments.lexers.pascal.AdaLexer
- For Ada source code.pygments.lexers.pawn.PawnLexer
- For Pawn source code.pygments.lexers.pawn.SourcePawnLexer
- For SourcePawn source code with preprocessor directives.pygments.lexers.perl.PerlLexer
- For Perl source code.pygments.lexers.php.PhpLexer
- For PHP source code. For PHP embedded in HTML, use the HtmlPhpLexer
.pygments.lexers.php.ZephirLexer
- For Zephir language source code.pygments.lexers.pointless.PointlessLexer
- For Pointless source code.pygments.lexers.pony.PonyLexer
- For Pony source code.pygments.lexers.praat.PraatLexer
- For Praat scripts.pygments.lexers.procfile.ProcfileLexer
- Lexer for Procfile file format.pygments.lexers.prolog.LogtalkLexer
- For Logtalk source code.pygments.lexers.prolog.PrologLexer
- Lexer for Prolog files.pygments.lexers.promql.PromQLLexer
- For PromQL queries.pygments.lexers.python.CythonLexer
- For Pyrex and Cython source code.pygments.lexers.python.DgLexer
- Lexer for dg, a functional and object-oriented programming language running on the CPython 3 VM.pygments.lexers.python.Python2Lexer
- For Python 2.x source code.pygments.lexers.python.Python2TracebackLexer
- For Python tracebacks.pygments.lexers.python.PythonLexer
- For Python source code (version 3.x).pygments.lexers.python.NumPyLexer
- A Python lexer recognizing Numerical Python builtins.pygments.lexers.python.PythonTracebackLexer
- For Python 3.x tracebacks, with support for chained exceptions.pygments.lexers.qvt.QVToLexer
- For the QVT Operational Mapping language.pygments.lexers.r.RdLexer
- Pygments Lexer for R documentation (Rd) filespygments.lexers.r.SLexer
- For S, S-plus, and R source code.pygments.lexers.rdf.ShExCLexer
- Lexer for ShExC shape expressions language syntax.pygments.lexers.rdf.SparqlLexer
- Lexer for SPARQL query language.pygments.lexers.rdf.TurtleLexer
- Lexer for Turtle data language.pygments.lexers.rebol.RebolLexer
- A REBOL lexer.pygments.lexers.rebol.RedLexer
- A Red-language lexer.pygments.lexers.resource.ResourceLexer
- Lexer for ICU Resource bundles.pygments.lexers.ride.RideLexer
- For Ride source code.pygments.lexers.rita.RitaLexer
- Lexer for RITApygments.lexers.rnc.RNCCompactLexer
- For RelaxNG-compact syntax.pygments.lexers.roboconf.RoboconfGraphLexer
- Lexer for Roboconf graph files.pygments.lexers.roboconf.RoboconfInstancesLexer
- Lexer for Roboconf instances files.pygments.lexers.ruby.FancyLexer
- Pygments Lexer For Fancy.pygments.lexers.rust.RustLexer
- Lexer for the Rust programming language (version 1.47).pygments.lexers.sas.SASLexer
- For SAS files.pygments.lexers.savi.SaviLexer
- For Savi source code.pygments.lexers.scdoc.ScdocLexer
- scdoc
is a simple man page generator for POSIX systems written in C99. https://git.sr.ht/~sircmpwn/scdocpygments.lexers.scripting.AppleScriptLexer
- No summarypygments.lexers.scripting.ChaiscriptLexer
- For ChaiScript source code.pygments.lexers.scripting.EasytrieveLexer
- No summarypygments.lexers.scripting.HybrisLexer
- For Hybris source code.pygments.lexers.scripting.JclLexer
- No summarypygments.lexers.scripting.LSLLexer
- For Second Life's Linden Scripting Language source code.pygments.lexers.scripting.LuaLexer
- For Lua source code.pygments.lexers.scripting.MoonScriptLexer
- For MoonScript source code.pygments.lexers.scripting.MiniScriptLexer
- For MiniScript source code.pygments.lexers.scripting.MOOCodeLexer
- For MOOCode (the MOO scripting language).pygments.lexers.scripting.RexxLexer
- No summarypygments.lexers.sgf.SmartGameFormatLexer
- Lexer for Smart Game Format (sgf) file format.pygments.lexers.shell.BashLexer
- Lexer for (ba|k|z|)sh shell scripts.pygments.lexers.shell.SlurmBashLexer
- Lexer for (ba|k|z|)sh Slurm scripts.pygments.lexers.shell.BatchLexer
- Lexer for the DOS/Windows Batch file format.pygments.lexers.shell.ExeclineLexer
- Lexer for Laurent Bercot's execline language (https://skarnet.org/software/execline).pygments.lexers.shell.FishShellLexer
- Lexer for Fish shell scripts.pygments.lexers.shell.PowerShellLexer
- For Windows PowerShell code.pygments.lexers.shell.TcshLexer
- Lexer for tcsh scripts.pygments.lexers.sieve.SieveLexer
- Lexer for sieve format.pygments.lexers.smalltalk.NewspeakLexer
- For Newspeak syntax.pygments.lexers.smalltalk.SmalltalkLexer
- For Smalltalk syntax. Contributed by Stefan Matthias Aust. Rewritten by Nils Winter.pygments.lexers.smithy.SmithyLexer
- For Smithy IDLpygments.lexers.smv.NuSMVLexer
- Lexer for the NuSMV language.pygments.lexers.snobol.SnobolLexer
- Lexer for the SNOBOL4 programming language.pygments.lexers.solidity.SolidityLexer
- For Solidity source code.pygments.lexers.sophia.SophiaLexer
- A Sophia lexer.pygments.lexers.spice.SpiceLexer
- For Spice source.pygments.lexers.sql.MySqlLexer
- The Oracle MySQL lexer.pygments.lexers.sql.PlPgsqlLexer
- Handle the extra syntax in Pl/pgSQL language.pygments.lexers.sql.PostgresLexer
- Lexer for the PostgreSQL dialect of SQL.pygments.lexers.sql.PsqlRegexLexer
- Extend the PostgresLexer adding support specific for psql commands.pygments.lexers.sql.RqlLexer
- Lexer for Relation Query Language.pygments.lexers.sql.SqlLexer
- Lexer for Structured Query Language. Currently, this lexer does not recognize any special syntax except ANSI SQL.pygments.lexers.sql.TransactSqlLexer
- Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to SQL.pygments.lexers.srcinfo.SrcinfoLexer
- Lexer for .SRCINFO files used by Arch Linux Packages.pygments.lexers.stata.StataLexer
- For Stata do files.pygments.lexers.supercollider.SuperColliderLexer
- For SuperCollider source code.pygments.lexers.tcl.TclLexer
- For Tcl source code.pygments.lexers.teal.TealLexer
- For the Transaction Execution Approval Language (TEAL)
pygments.lexers.templates.Angular2Lexer
- Generic angular2 template lexer.pygments.lexers.templates.CheetahLexer
- Generic `cheetah templates`_ lexer. Code that isn't Cheetah markup is yielded as Token.Other
. This also works for `spitfire templates`_ which use the same syntax.pygments.lexers.templates.ColdfusionLexer
- Coldfusion statementspygments.lexers.templates.ColdfusionMarkupLexer
- Coldfusion markup onlypygments.lexers.templates.DjangoLexer
- Generic django and jinja template lexer.pygments.lexers.templates.EvoqueLexer
- For files using the Evoque templating system.pygments.lexers.templates.GenshiMarkupLexer
- Base lexer for Genshi markup, used by HtmlGenshiLexer
and GenshiLexer
.pygments.lexers.templates.GenshiTextLexer
- A lexer that highlights genshi text templates.pygments.lexers.templates.HandlebarsLexer
- Generic handlebars
template lexer.pygments.lexers.templates.JspRootLexer
- Base for the JspLexer
. Yields Token.Other
for area outside of JSP tags.pygments.lexers.templates.LiquidLexer
- Lexer for Liquid templates.pygments.lexers.templates.MakoLexer
- Generic `mako templates`_ lexer. Code that isn't Mako markup is yielded as Token.Other
.pygments.lexers.templates.MasonLexer
- Generic `mason templates`_ lexer. Stolen from Myghty lexer. Code that isn't Mason markup is HTML.pygments.lexers.templates.MyghtyLexer
- Generic `myghty templates`_ lexer. Code that isn't Myghty markup is yielded as Token.Other
.pygments.lexers.templates.SmartyLexer
- Generic Smarty template lexer.pygments.lexers.templates.TeaTemplateRootLexer
- Base for the TeaTemplateLexer
. Yields Token.Other
for area outside of code blocks.pygments.lexers.templates.TwigLexer
- Twig template lexer.pygments.lexers.templates.VelocityLexer
- Generic Velocity template lexer.pygments.lexers.teraterm.TeraTermLexer
- For Tera Term macro source code.pygments.lexers.testing.GherkinLexer
- For Gherkin
syntax.pygments.lexers.testing.TAPLexer
- For Test Anything Protocol (TAP) output.pygments.lexers.textedit.AwkLexer
- For Awk scripts.pygments.lexers.textedit.SedLexer
- Lexer for Sed script files.pygments.lexers.textedit.VimLexer
- Lexer for VimL script files.pygments.lexers.textfmts.GettextLexer
- Lexer for Gettext catalog files.pygments.lexers.textfmts.HttpLexer
- Lexer for HTTP sessions.pygments.lexers.textfmts.IrcLogsLexer
- Lexer for IRC logs in irssi, xchat or weechat style.pygments.lexers.textfmts.KernelLogLexer
- For Linux Kernel log ("dmesg") output.pygments.lexers.textfmts.NotmuchLexer
- For Notmuch email text format.pygments.lexers.textfmts.TodotxtLexer
- Lexer for Todo.txt todo list format.pygments.lexers.theorem.CoqLexer
- For the Coq theorem prover.pygments.lexers.theorem.IsabelleLexer
- For the Isabelle proof assistant.pygments.lexers.theorem.LeanLexer
- For the Lean theorem prover.pygments.lexers.thingsdb.ThingsDBLexer
- Lexer for the ThingsDB programming language.pygments.lexers.trafficscript.RtsLexer
- For Riverbed Stingray Traffic Managerpygments.lexers.typoscript.TypoScriptCssDataLexer
- Lexer that highlights markers, constants and registers within css blocks.pygments.lexers.typoscript.TypoScriptHtmlDataLexer
- Lexer that highlights markers, constants and registers within html tags.pygments.lexers.typoscript.TypoScriptLexer
- Lexer for TypoScript code.pygments.lexers.unicon.IconLexer
- Lexer for Icon.pygments.lexers.unicon.UcodeLexer
- Lexer for Icon ucode files.pygments.lexers.unicon.UniconLexer
- For Unicon source code.pygments.lexers.usd.UsdLexer
- A lexer that parses Pixar's Universal Scene Description file format.pygments.lexers.varnish.VCLLexer
- For Varnish Configuration Language (VCL).pygments.lexers.varnish.VCLSnippetLexer
- For Varnish Configuration Language snippets.pygments.lexers.verification.BoogieLexer
- For Boogie source code.pygments.lexers.verification.SilverLexer
- For Silver source code.pygments.lexers.webassembly.WatLexer
- Lexer for the WebAssembly text format.pygments.lexers.webidl.WebIDLLexer
- For Web IDL.pygments.lexers.webmisc.CirruLexer
- Syntax rules of Cirru can be found at: http://cirru.org/pygments.lexers.webmisc.DuelLexer
- Lexer for Duel Views Engine (formerly JBST) markup with JavaScript code blocks. See http://duelengine.org/. See http://jsonml.org/jbst/.pygments.lexers.webmisc.QmlLexer
- For QML files. See http://doc.qt.digia.com/4.7/qdeclarativeintroduction.html.pygments.lexers.whiley.WhileyLexer
- Lexer for the Whiley programming language.pygments.lexers.x10.X10Lexer
- For the X10 language.pygments.lexers.xorg.XorgLexer
- Lexer for xorg.conf file.pygments.lexers.yang.YangLexer
- Lexer for YANG, based on RFC7950pygments.lexers.zig.ZigLexer
- For Zig source code.pygments.lexers.data.JsonLexer
- For JSON data structures.pygments.lexers.data.JsonBareObjectLexer
- For JSON data structures (with missing object curly braces).pygments.lexers.data.JsonLdLexer
- For JSON-LD linked data.pygments.lexers.dylan.DylanConsoleLexer
- For Dylan interactive console output like:pygments.lexers.erlang.ElixirConsoleLexer
- For Elixir interactive console (iex) output like:pygments.lexers.erlang.ErlangShellLexer
- Shell sessions in erl (for Erlang code).pygments.lexers.haskell.LiterateLexer
- Base class for lexers of literate file formats based on LaTeX or Bird-style (prefixing each code line with ">").pygments.lexers.haskell.LiterateAgdaLexer
- For Literate Agda source.pygments.lexers.haskell.LiterateCryptolLexer
- For Literate Cryptol (Bird-style or LaTeX) source.pygments.lexers.haskell.LiterateHaskellLexer
- For Literate Haskell (Bird-style or LaTeX) source.pygments.lexers.haskell.LiterateIdrisLexer
- For Literate Idris (Bird-style or LaTeX) source.pygments.lexers.javascript.NodeConsoleLexer
- For parsing within an interactive Node.js REPL, such as:pygments.lexers.julia.JuliaConsoleLexer
- For Julia console sessions. Modeled after MatlabSessionLexer.pygments.lexers.jvm.GosuTemplateLexer
- For Gosu templates.pygments.lexers.make.MakefileLexer
- Lexer for BSD and GNU make extensions (lenient enough to handle both in the same file even).pygments.lexers.matlab.MatlabSessionLexer
- For Matlab sessions. Modeled after PythonConsoleLexer. Contributed by Ken Schutte <kschutte@csail.mit.edu>.pygments.lexers.pascal.DelphiLexer
- For Delphi (Borland Object Pascal), Turbo Pascal and Free Pascal source code.pygments.lexers.php.PsyshConsoleLexer
- For `PsySH`_ console output, such as:pygments.lexers.python.PythonConsoleLexer
- For Python console output or doctests, such as:pygments.lexers.r.RConsoleLexer
- For R console transcripts or R CMD BATCH output files.pygments.lexers.robotframework.RobotFrameworkLexer
- For Robot Framework test data.pygments.lexers.ruby.RubyConsoleLexer
- For Ruby interactive console (irb) output like:pygments.lexers.shell.ShellSessionBaseLexer
- Base lexer for shell sessions.pygments.lexers.shell.BashSessionLexer
- Lexer for Bash shell sessions, i.e. command lines, including a prompt, interspersed with output.pygments.lexers.shell.MSDOSSessionLexer
- Lexer for MS DOS shell sessions, i.e. command lines, including a prompt, interspersed with output.pygments.lexers.shell.PowerShellSessionLexer
- Lexer for PowerShell sessions, i.e. command lines, including a prompt, interspersed with output.pygments.lexers.shell.TcshSessionLexer
- Lexer for Tcsh sessions, i.e. command lines, including a prompt, interspersed with output.pygments.lexers.special.OutputLexer
- Simple lexer that highlights everything as Token.Generic.Output.pygments.lexers.special.RawTokenLexer
- Recreate a token stream formatted with the RawTokenFormatter
.pygments.lexers.special.TextLexer
- "Null" lexer, doesn't highlight anything.pygments.lexers.sql.PostgresConsoleLexer
- Lexer for psql sessions.pygments.lexers.sql.SqliteConsoleLexer
- Lexer for example sessions using sqlite3.pygments.lexers.templates.CheetahPythonLexer
- Lexer for handling Cheetah's special $ tokens in Python syntax.pygments.lexers.templates.ErbLexer
- Generic ERB (Ruby Templating) lexer.pygments.lexers.tnt.TNTLexer
- No summarypygments.lexer.LexerContext
- A helper object that holds lexer position data.pygments.lexers.data.YamlLexerContext
- Indentation context for the YAML lexer.pygments.lexers.robotframework._Table
- Undocumentedpygments.lexers.robotframework.SettingTable
- Undocumentedpygments.lexers.robotframework.TestCaseTable
- Undocumentedpygments.lexers.robotframework.KeywordTable
- Undocumentedpygments.lexers.robotframework.UnknownTable
- Undocumentedpygments.lexers.robotframework.VariableTable
- Undocumentedpygments.lexers.robotframework.GherkinTokenizer
- Undocumentedpygments.lexers.robotframework.RowSplitter
- Undocumentedpygments.lexers.robotframework.RowTokenizer
- Undocumentedpygments.lexers.robotframework.Tokenizer
- Undocumentedpygments.lexers.robotframework.Comment
- Undocumentedpygments.lexers.robotframework.ForLoop
- Undocumentedpygments.lexers.robotframework.ImportSetting
- Undocumentedpygments.lexers.robotframework.KeywordCall
- Undocumentedpygments.lexers.robotframework.Setting
- Undocumentedpygments.lexers.robotframework.TestCaseSetting
- Undocumentedpygments.lexers.robotframework.KeywordSetting
- Undocumentedpygments.lexers.robotframework.TemplatedKeywordCall
- Undocumentedpygments.lexers.robotframework.Variable
- Undocumentedpygments.lexers.robotframework.VariableSplitter
- Undocumentedpygments.lexers.robotframework.VariableTokenizer
- Undocumentedpygments.lexers.sql.lookahead
- Wrap an iterator and allow pushing back an item.pygments.lexers.sql.PostgresBase
- Base class for Postgres-related lexers.pygments.lexers.sql.PlPgsqlLexer
- Handle the extra syntax in Pl/pgSQL language.pygments.lexers.sql.PostgresLexer
- Lexer for the PostgreSQL dialect of SQL.pygments.lexers.sql.PsqlRegexLexer
- Extend the PostgresLexer adding support specific for psql commands.pygments.scanner.Scanner
- Simple scannerpygments.style.Style
- Undocumentedpygments.styles.abap.AbapStyle
- Undocumentedpygments.styles.algol.AlgolStyle
- Undocumentedpygments.styles.algol_nu.Algol_NuStyle
- Undocumentedpygments.styles.arduino.ArduinoStyle
- The Arduino® language style. This style is designed to highlight the Arduino source code, so exepect the best results with it.pygments.styles.autumn.AutumnStyle
- A colorful style, inspired by the terminal highlighting style.pygments.styles.borland.BorlandStyle
- Style similar to the style used in the borland IDEs.pygments.styles.bw.BlackWhiteStyle
- Undocumentedpygments.styles.colorful.ColorfulStyle
- A colorful style, inspired by CodeRay.pygments.styles.default.DefaultStyle
- The default style (inspired by Emacs 22).pygments.styles.dracula.DraculaStyle
- Undocumentedpygments.styles.emacs.EmacsStyle
- The default style (inspired by Emacs 22).pygments.styles.friendly.FriendlyStyle
- A modern style based on the VIM pyte theme.pygments.styles.friendly_grayscale.FriendlyGrayscaleStyle
- A modern grayscale style based on the friendly style.pygments.styles.fruity.FruityStyle
- Pygments version of the "native" vim theme.pygments.styles.gruvbox.GruvboxDarkStyle
- Pygments version of the "gruvbox" dark vim theme.pygments.styles.gruvbox.GruvboxLightStyle
- Pygments version of the "gruvbox" Light vim theme.pygments.styles.igor.IgorStyle
- Pygments version of the official colors for Igor Pro procedures.pygments.styles.inkpot.InkPotStyle
- Undocumentedpygments.styles.lilypond.LilyPondStyle
- Style for the LilyPond language.pygments.styles.lovelace.LovelaceStyle
- The style used in Lovelace interactive learning environment. Tries to avoid the "angry fruit salad" effect with desaturated and dim colours.pygments.styles.manni.ManniStyle
- A colorful style, inspired by the terminal highlighting style.pygments.styles.material.MaterialStyle
- This style mimics the Material Theme color scheme.pygments.styles.monokai.MonokaiStyle
- This style mimics the Monokai color scheme.pygments.styles.murphy.MurphyStyle
- Murphy's style from CodeRay.pygments.styles.native.NativeStyle
- Pygments version of the "native" vim theme.pygments.styles.onedark.OneDarkStyle
- Theme inspired by One Dark Pro for Atompygments.styles.paraiso_dark.ParaisoDarkStyle
- Undocumentedpygments.styles.paraiso_light.ParaisoLightStyle
- Undocumentedpygments.styles.pastie.PastieStyle
- Style similar to the pastie default style.pygments.styles.perldoc.PerldocStyle
- Style similar to the style used in the perldoc code blocks.pygments.styles.rainbow_dash.RainbowDashStyle
- A bright and colorful syntax highlighting theme.pygments.styles.rrt.RrtStyle
- Minimalistic "rrt" theme, based on Zap and Emacs defaults.pygments.styles.sas.SasStyle
- Style inspired by SAS' enhanced program editor. Note This is not meant to be a complete style. It's merely meant to mimic SAS' program editor syntax highlighting.pygments.styles.solarized.SolarizedDarkStyle
- The solarized style, dark.pygments.styles.solarized.SolarizedLightStyle
- The solarized style, light.pygments.styles.stata_dark.StataDarkStyle
- Undocumentedpygments.styles.stata_light.StataLightStyle
- Light mode style inspired by Stata's do-file editor. This is not meant to be a complete style, just for use with Stata.pygments.styles.tango.TangoStyle
- The Crunchy default Style inspired from the color palette from the Tango Icon Theme Guidelines.pygments.styles.trac.TracStyle
- Port of the default trac highlighter design.pygments.styles.vim.VimStyle
- Styles somewhat like vim 7.0pygments.styles.vs.VisualStudioStyle
- Undocumentedpygments.styles.xcode.XcodeStyle
- Style similar to the Xcode default colouring theme.pygments.styles.zenburn.ZenburnStyle
- Low contrast Zenburn style.pygments.util.Future
- Generic class to defer some work.pygments.lexer.words
- Indicates a list of literal words that is transformed into an optimized regex that matches any of the words.RuntimeError
pygments.scanner.EndOfText
- Raise if end of text is reached and the user tried to call a match function.str
pygments.lexer.include
- Indicates that a state should include rules from another state.tuple
pygments.lexer.combined
- Indicates a state combined from multiple states.pygments.token._TokenType
- Undocumentedtype
pygments.lexer.LexerMeta
- This metaclass automagically converts analyse_text methods into static methods which always return float values.pygments.lexer.RegexLexerMeta
- Metaclass for RegexLexer, creates the self._tokens attribute from self.tokens on the first instantiation.pygments.lexer.ProfilingRegexLexerMeta
- Metaclass for ProfilingRegexLexer, collects regex timing info.pygments.style.StyleMeta
- Undocumentedtypes.ModuleType
pygments.formatters._automodule
- Automatically import formatters.pygments.lexers._automodule
- Automatically import lexers.ValueError
pygments.util.ClassNotFound
- Raised if one of the lookup functions didn't find a matching class.