DocPad v3.3.0 Release Notes

Release Date: 2012-02-29 // about 12 years ago
    • ๐Ÿ’Ž Fixed ruby rendering with ruby v1.8
    • 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
    • ๐Ÿ”Œ 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
      • #146 - Require RubyGems on Ruby 1.8
      • #137 - An error occurred: Cannot find module 'uglify-js'
      • #34 - As a User, I want server-side syntax highlighting, as pygments rocks