Hexo Renderer Markdown It Versions Save

Markdown-it is a Markdown parser, done right. A faster and CommonMark compliant alternative for Hexo.

v7.1.1

4 months ago

Fixes

Dependencies

New Contributors

Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/v7.1.0...7.1.1

v7.1.0

11 months ago

New Features

Fixes

Dependencies

Others

New Contributors

Full Changelog

https://github.com/hexojs/hexo-renderer-markdown-it/compare/v7.0.0...v7.1.0

v7.0.0

1 year ago

Breaking Changes

New Features

Dependencies

Docs

Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.1.0...v7.0.0

6.1.0

1 year ago

Features

Fixes

Dependencies

New Contributors

Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.0.1...6.1.0

6.0.1

2 years ago

Fixes

New Contributors

Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/6.0.0...6.0.1

6.0.0

2 years ago

Breaking Changes

Performance

Docs

Test

Dependencies

Miscs

New Contributors

Full Changelog: https://github.com/hexojs/hexo-renderer-markdown-it/compare/5.0.0...6.0.0

5.0.0

3 years ago

Breaking change

  • Requires Node 10.13+ [#126]
  • Moved preset to a separate config [#122]
    • so that other options also can be used, instead of just preset only
    # Previous config
    markdown: 'commonmark'
    
    # will be automatically converted to new config
    markdown:
      preset: 'commonmark'
    
    • When old config is used, render, plugins & anchors options will be null (instead of the defaults) for compatibility purpose, those options need to be configured separately; compatibility will be dropped in the next major version.

Features

  • feat: 'disableNunjucks' option [#125]
    • When enabled, nunjucks tags {{ }}/{% %} (used in tag plugin) will not be processed.
  • feat: options to enable/disable rules [#123]
    • Some rules are enabled or disabled depending on the preset.
    • See wiki for guide.
  • feat: add markdown-it to filter [#121]

4.1.0

4 years ago

Feature

  • permalinkSide option [#105]. By default, when permalink option is enabled, the permalink symbol is prepended before each heading. If you prefer to append to the end of each heading:

    markdown:
      anchors:
        permalink: true
        permalinkSide: 'right'
    

Housekeeping

  • Remove unneeded sluggo dependency [#99]. It has been replaced by hexo-util's slugize [#95].
  • Update nyc from 14.1.1 to 15.0.0 [#100]

4.0.0

4 years ago

Breaking changes

  • We have updated the default config to be consistent with [hexo-renderer-marked] [#90], [#92]
    • New defaults:
    markdown:
      render:
        html: true
        xhtmlOut: false
        breaks: true
        linkify: true
        typographer: true
        quotes: '“”‘’'
      plugins:
      anchors:
        level: 2
        collisionSuffix: ''
        permalink: false
        permalinkClass: 'header-anchor'
        permalinkSymbol: '¶'
        case: 0
        separator: '-'
    
    • Previous defaults (other configs remain the same):
    markdown:
      anchors:
        permalink: true
        level: 1
        collisionSuffix: 'v'
        case: 1
    
  • Requires Node 8.6+ [#79]

Features

  • Include official markdown-it plugins [#52], [#86], [#87]
    • Disabled by default
    • Included plugins:
    markdown:
      plugins:
        - markdown-it-abbr
        - markdown-it-cjk-breaks
        - markdown-it-container
        - markdown-it-deflist
        - markdown-it-emoji
        - markdown-it-footnote
        - markdown-it-ins
        - markdown-it-mark
        - markdown-it-sub
        - markdown-it-sup
    
  • Include [markdown-it-cjk-breaks] plugin [#56]
    • To enable:
    markdown:
      plugins:
        - markdown-it-cjk-breaks
    
  • Add new options to anchors: [#95]
    markdown:
      anchors:
        case: 0 # Set to 1 to transform anchors to lowercase, 2 for uppercase
        separator: '-' # Replace the space with a dash, can be any character
    

Housekeeping

  • Update markdown-it from v8 to v10 [#80], [#88]
  • Update mocha from v3 to v5 [#60]