All notable changes to this project will be documented in this file.
- Add fix for lexer_options potentially being nil (#94).
- Lexer options don't get passed to lexer (#92).
- Remove official support for Ruby 2.5 and 2.6 (#89).
- Add ability to add other classes to the :syntax plugin (#90).
- Haml 6 support (#82, #84).
- Migrate CI from Travis to GitHub Actions (#83).
- Remove trailing blank lines from HAML's :code filter (#79).
- Allow for Linewise Rouge formatter (#78).
- 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
codehelper (#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
codehelper by passing them as the second argument. - Using the
codehelper from Slim templates no longer escapes the output. - Added a
:codefilter for Haml as a more whitespace-friendly alternative to thecodehelper.
- 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.