• Home
  • Demo
  • Languages
  • Styles
  • FAQ
  • Get it
  • Docs
Pygments logo

Previous topic

Welcome!

Next topic

Download and installation

This Page

  • Show Source

Quick search

Pygments documentation¶

Starting with Pygments

  • Download and installation
  • Introduction and Quickstart
  • Command Line Interface

Builtin components

  • Available lexers
  • Filters
  • Available formatters
  • Styles

Reference

  • Unicode and Encodings
  • Builtin Tokens
  • The full Pygments API
  • Terminal sessions

Hacking with Pygments

  • Write your own lexer
  • Write your own formatter
  • Write your own filter
  • Write your own style
  • Plugins

Hints and tricks

  • Terminal Tips
  • Using Pygments with MoinMoin
  • Use Pygments in Java
  • Using Pygments in various scenarios

About Pygments

  • Contributing to Pygments
  • Pygments changelog
  • Full contributor list
  • Security considerations

If you find bugs or have suggestions for the documentation, please submit them on GitHub.

© Copyright 2006-2025, Georg Brandl and Pygments contributors. Created using Sphinx 8.1.3.
Pygments logo created by Joel Unger. Backgrounds from subtlepatterns.com.