amehime 8b9af7e9f5 first
2020-04-25 23:53:27 +08:00
2020-04-25 23:50:04 +08:00
2020-04-25 23:50:04 +08:00
2020-04-25 23:53:27 +08:00
2020-04-25 23:50:04 +08:00
2020-04-25 23:50:04 +08:00

hexo-renderer-markdown-it

Build Status npm version npm dependencies Coverage Status

This renderer plugin uses Markdown-it as a render engine on Hexo. Adds support for Markdown and CommonMark.

Main Features

  • Support for Markdown, GFM and CommonMark
  • Extensive configuration
  • Faster than the default renderer | hexo-renderer-marked
  • Safe ID for headings
  • Anchors for headings with ID
  • Footnotes
  • <sub> H2O
  • <sup> x2
  • <ins> Inserted

Installation

Follow the installation guide.

Options

markdown:
  render:
    html: true
    xhtmlOut: false
    breaks: true
    linkify: true
    typographer: true
    quotes: '“”‘’'
  plugins:
  anchors:
    level: 2
    collisionSuffix: ''
    permalink: false
    permalinkClass: 'header-anchor'
    permalinkSide: 'left'
    permalinkSymbol: '¶'
    case: 0
    separator: ''

Refer to the wiki for more details.

Requests and bug reports

If you have any feature requests or bugs to report, you're welcome to file an issue.

Description
A renderer plugin for Hexo based on Markdown-it and auto Minify HTML, CSS, JS.
Readme MIT 1.3 MiB
Languages
JavaScript 100%