- Fixed HAML :code filter to remove trailing blank lines
- Prep for Middleman v5
- Upgrade to Rouge 2.0. #66.
- Added the ability to disable the line numbers on a specific code block when using Markdown and Redcarpet. #63.
- Lexer options are properly passed down to the highlighter.
- Version compatibility with Middleman 4. #58
- Allow passing Rouge formatter options from the
code
helper. #50. - Fixed tests and code reorganization.
- Update to a new-style Middleman extension, dropping compatibility with Middleman versions older than 3.2.x.
- Setting the :css_class option will no longer prevent the language tag from being added as a class as well.
- Rouge lexer options should now be set via the :lexer_options option.
- It is now possible to override options when calling the
code
helper by passing them as the second argument. - Using the
code
helper from Slim templates no longer escapes the output. - Added a
:code
filter for Haml as a more whitespace-friendly alternative to thecode
helper.
- Restore compatibility with Middleman 3.0.x series.
- Support Kramdown as Markdown engine in addition to Redcarpet.
- Switch to Rouge from Pygments.rb
- Fix bugs around setting language options.
- Properly merge language attribute for Markdown. #14
- Avoid errors when language is empty. #9
- Allow passing options to Pygments. #5 & #7
- Updated pygments.rb dependency.
- Initial release, basic syntax highlighting.