amehime eb1db1d7cf update
2020-05-28 01:23:20 +08:00
2020-05-28 01:23:20 +08:00
2020-04-29 11:19:00 +08:00
2020-04-26 21:06:06 +08:00
2020-04-25 23:53:27 +08:00
2020-05-28 01:23:20 +08:00
2020-05-23 02:09:29 +08:00

hexo-renderer-markdown-it-ex

This renderer plugin uses Markdown-it as a render engine on [Hexo].

This renderer plugin is forked from hexo-renderer-markdown-it and hexo-renderer-markdown-it-plus.

Installation

Options

markdown:
  render:
    html: false
    xhtmlOut: true
    breaks: true
    linkify: true
    typographer: 
    quotes: '“”‘’'
    tab: ''
    gutter: true
  plugins:
    - plugin:
        name: markdown-it-toc-and-anchor
        enable: true
        options:
          tocClassName: 'header-toc'
          anchorClassName: 'header-anchor'

default Supported Plugins and Examples

If you want to use katex, you must add this css style to your website:

<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css">
  • markdown-it-pangu

  • markdown-it-prism

    code highlighted by Prism.js

    comment will be spaced by pangu.js

    • marked line mark:1,3-4

    • command command:{["[ee@s] $":1-2]["#":5-6,9-10]}

  • markdown-it-mermaid

Support for Mermaid

You should add css style for mermaid.

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