Skip to content
Projects

gpoore/minted has 1,867 GitHub stars and 131 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-08 01:08 UTC. Last push 2026-03-04.

How these counts are measured

minted is a LaTeX package that provides syntax highlighting using the Pygments library. Highlighted source code can be customized using fancyvrb.

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

minted — highlighted source code for LaTeX

Overview

minted is a LaTeX package that provides syntax highlighting using the Pygments library. The package also provides options for customizing the highlighted source code output, including features implemented in Python such as selecting snippets of code with regular expressions.

For example, this LaTeX code

\begin{minted}[mathescape,
               linenos,
               numbersep=5pt,
               gobble=2,
               frame=lines,
               framesep=2mm]{csharp}
string title = "This is a Unicode π in the sky"
/*
Defined as $\pi=\lim_{n\to\infty}\frac{P_n}{d}$ where $P$ is the perimeter
of an $n$-sided regular polygon circumscribing a
circle of diameter $d$.
*/
const double pi = 3.1415926535
\end{minted}

will produce the following when compiled with LaTeX

screenshot

See the documentation for examples and installation instructions.

Availability

minted is distributed with both TeX Live and MiKTeX. It is also available from CTAN.

License

This work may be distributed and/or modified under the conditions of the LaTeX Project Public License (LPPL), version 1.3c or later.

Please use the project's GitHub site at https://github.com/gpoore/minted for suggestions, feature requests, and bug reports.

Explore related projects