Introduction and Quickstart¶ Welcome to Pygments! This document explains the basic concepts and terms and gives a few examples of how to use the library. Architecture¶ There are four types of components that work together highlighting a piece of code: A lexer splits the source into tokens, fragments of the source that have a token type that determines what the text represents semantically (e.g., k