DocPad v3.3.0 Release Notes
Release Date: 2012-02-29 // about 12 years ago-
- ๐ Fixed ruby rendering with ruby v1.8
- Thanks to Sorin Ionescu for the patch
- 0๏ธโฃ The
enabledPlugins
config option will now correctly only overwrite the default values if you have set it to be a string- Before it would always incorrectly overwrite the default value if set, which would cause some experimental disabled-by-default plugins to enable
- ๐ Added a Pygments Syntax Highlighting plugin
- It is disabled by default as not everyone would want syntax highlighting, to enable it, add the following to your website's
package.json
file:javascript "docpad": { "enabledPlugins": { "pygments": true } }
- Thanks to Doug Neiner for urging it along
- It is disabled by default as not everyone would want syntax highlighting, to enable it, add the following to your website's
- ๐ Added a new
renderDocument
plugin event- It is fired after the extensions are rendered, but before the document is rendered inside its layout
- Useful for things that modify the rendered result of a document, e.g. syntax highlighting, paging, etc
- Closes
- ๐ Fixed ruby rendering with ruby v1.8