Skip to content

noah/pygments-style-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

Github

% git clone git://github.com/noah/pygments-style-algorithm.git
% cd pygments-style-algorithm
# python setup.py install

Usage example

>>> from pygments.formatters import HtmlFormatter
>>> HtmlFormatter(style='algorithm').style
<class 'pygments_style_algorithm.AlgorithmStyle'>

Using in LaTeX documents

\usepackage{minted}
\usemintedstyle{algorithm}

Pygments styles available

To get a list of all available styles, execute the following command on the command line:

$ pygmentize -L styles

Please read the official documentation for further information on the usage of pygment styles.

Acknowledgement

This structure of this package is based on pygments-style-github by Hugo Maia Vieira

About

A simple print-friendly style for displaying algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages