Makeup v0.7.0 API Reference

Modules

Syntax highlighting library for code, inspired by Pygments

A turn the list of tokens into a

A lexer turns raw source code into a list of tokens

Often you’ll want to run the token list through a postprocessing stage before running the formatter

A registry that allows users to dynamically register new makeup lexers

This module contains all styles, and facilities to map style names (binaries or atoms) to styles

A CSS style for a single token

Generators to make it easy to test lexers