Skip to content
Markdown renderer plugin for Hexo - based on Unified
JavaScript
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
utils Add new chars for non-breaking spaces Aug 8, 2019
.gitignore Initial commit May 25, 2019
LICENSE Initial commit May 25, 2019
README.md Add headings increment functionnality Aug 24, 2019
index.js Add headings increment functionnality Aug 24, 2019
package-lock.json
package.json Add headings increment functionnality Aug 24, 2019

README.md

hexo-renderer-unified

NPM version

Markdown renderer plugin for Hexo - based on unified

Installation

npm install hexo-renderer-unified --save

Options

You can configure this plugin in _config.yml.

unified:
  gfm: true
  pedantic: false
  commonmark: false
  footnotes: true
  math: false
  code: false
  code_ln: false
  add_nbsp: false
  titles_inc: 0
  • gfm - Enable GitHub flavored markdown
  • pedantic - Conform to obscure parts of markdown.pl as much as possible.
  • commonmark - Comply with the CommonMark specification.
  • footnotes - Enable footnotes at the end of the article
  • math - Add TeX parsing and rendering using KaTeX.
  • code - Enable code highlighting. Please disable code highlighting in Hexo if you want this package to highlight code.
  • code_ln - Add line numbering in front of highlighted code.
  • add_nbsp - Replace spaces with non-breaking spaces where necessary.
  • titles_inc - Shift all headers by a factor. Mainly intended for SEO.

Extras

This plugins adds a simple syntax <+++> to separate abstract from content if you want to generate and RSS feed. If you don't need it, just don't use it.

You can’t perform that action at this time.