mirror of
https://github.com/amehime/hexo-renderer-multi-markdown-it.git
synced 2026-04-05 13:09:04 +08:00
00c351529aff8bd522bd2d1c7064b180826767fe
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
-
markdown-it-sub:
H~2~0H2O -
markdown-it-sup:
29^th^29th -
markdown-it-ins:
++inserted++inserted -
markdown-it-mark:
==marked==marked -
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-prism
code highlighted by Prism.js
comments 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.
-
markdown-it-graphviz
-
markdown-it-furigana
Modified from furigana-markdown-it and markdown-it-ruby
eg.
{可愛い犬|か+わい・い・いぬ}
Languages
JavaScript
100%