mirror of
https://github.com/amehime/hexo-renderer-multi-markdown-it.git
synced 2026-04-05 21:39:36 +08:00
57c33c87bc36542e83a3ed5d098ad0965a062bcc
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 - markdown-it-abbr
- markdown-it-bracketed-spans
- markdown-it-attrs
- markdown-it-deflist
- markdown-it-emoji
- markdown-it-footnote
- markdown-it-task-checkbox
- markdown-it-toc-and-anchor
- markdown-it-container
- markdown-it-multimd-table
- markdown-it-katex
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
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.
Languages
JavaScript
100%