Redcarpet v3.5.0 Release Notes

Release Date: 2019-07-29 // over 4 years ago
  • ๐Ÿš€ This release mostly ships with bug fixes and tiny improvements.

    ๐Ÿ‘Œ Improvements

    ๐Ÿ‘€ Avoid mutating the options hash passed to a render object (See #663).

    Automatically enable the fenced_code_blocks option passing a HTML_TOC object to the Markdown object's constructor since some languages rely on the sharp to comment code (See #451).

    โœ‚ Remove the rel and rev attributes from the output generated for footnotes as they don't pass the HTML 5 validation (See #536).

    ๐Ÿ‘ Allow passing Range objects to the nesting_level option to have a higher level of customization for table of contents (See #519):

    Redcarpet::Render::HTML\_TOC.new(nesting\_level: 2..5)
    

    ๐Ÿ› Bug fixes

    ๐Ÿ›  Fix a segfault rendering quotes using StripDown and the :quote option.

    ๐Ÿ›  Fix SmartyPants single quotes right after a link. For example:

    [John](http://john.doe)'s cat
    

    Will now properly converts ' to a right single quote (i.e. โ€™).