Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pygments lexer for the Puppet DSL
branch: master
Failed to load latest commit information.
puppet_lexer Support require statement
.gitignore Initial commit Edited README to explain what this actually does Initial commit

Pygments lexer for the Puppet DSL

Pygments is a popular syntax highlighting tool used in many sites (like This module allows Pygments to properly read Puppet manifests so that we get nice pretty pages of code to look at too.

While this is pretty much working fine on my manifests, I'm not using all the features of the DSL. Help me out by testing this out on your manifests and reporting any rendering errors. This is my first Pygments lexer, so I'm sure this could be made more efficient if you wanted to as well.


python install


vim puppet_lexer/
python install
pygmentize -O full -f html -o <output file> <input file>
Something went wrong with that request. Please try again.