Install Python Dependency
If you are on Linux or OSX, generally Python is already installed for you.
Installing Python via Homebrew
Install Python Dependencybrew install python
Add the Python share directory to your path:
Now follow the generic installation instructions
Install Pip Dependencyeasy_install pip
Install Pygments Dependency
pip install pygments
Include your favourite Pygments Stylesheet into your website
Install this Plugin
docpad install pygments
With Github Flavored Markdown
## Coffeescript with markdown backticks: ``` coffeescript alert 'hello' ``` ## Guessing with markdown backticks: ``` alert 'hello' ``` ## Guessing with markdown standard: alert 'hello'
With HTMLCoffeescript with html:alert 'hello'Guessing with html:alert 'hello'
If you are wanting to generate your DocPad website on your hosting provider, rather than deploying a static site. You will have to install pygments on the host as well. You're probably better off using the HighlightJS plugin instead.
These amazing people are maintaining this project:
- Benjamin Lupton email@example.com (https://github.com/balupton)
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Copyright © 2012+ Bevry Pty Ltd firstname.lastname@example.org (http://bevry.me)