build:更改渲染引擎。

This commit is contained in:
徐涛 2021-04-10 17:37:44 +08:00
parent c935c29a2c
commit a7088384b0
2 changed files with 69 additions and 43 deletions

View File

@ -40,7 +40,7 @@ external_link:
exclude: '' exclude: ''
filename_case: 0 filename_case: 0
render_drafts: false render_drafts: false
post_asset_folder: false post_asset_folder: true
relative_link: false relative_link: false
future: true future: true
highlight: highlight:
@ -105,47 +105,69 @@ deploy:
type: '' type: ''
# Plugins Configurations # Plugins Configurations
markdown_it_plus: marked:
highlight: true gfm: true
html: true pedantic: false
xhtmlOut: true
breaks: true breaks: true
langPrefix: smartLists: true
linkify: true smartypants: true
typographer: quotes: '“”‘’'
quotes: “”‘’ modifyAnchors: 0
pre_class: highlight anchorAlias: false
plugins: autolink: true
- plugin: mangle: true
name: markdown-it-mark sanitizeUrl: false
enable: true headerIds: true
- plugin: lazyload: false
name: markdown-it-toc-and-anchor prependRoot: false
enable: true postAsset: false
options: external_link:
toc: true enable: false
tocClassName: 'markdown-toc' exclude: []
tocFirstLevel: 2 nofollow: false
tocLastLevel: 6 disableNunjucks: false
tocCallback: descriptionLists: true
anchorLink: true # markdown_it_plus:
anchorLinkSymbol: '#' # highlight: true
anchorFirstLevel: 2 # html: true
anchorLastLevel: 6 # xhtmlOut: true
anchorLinkSpace: false # breaks: true
anchorLinkSymbolClassName: # langPrefix:
anchorLinkBefore: true # linkify: true
anchorClassName: 'markdown-anchor' # typographer:
resetIds: true # quotes: “”‘’
# toc: # pre_class: highlight
# maxdepth: 3 # plugins:
# class: toc # - plugin:
# slugify: transliteration # name: markdown-it-mark
# decodeEntities: false # enable: true
# anchor: # - plugin:
# position: after # name: markdown-it-toc-and-anchor
# symbol: '#' # enable: true
# style: header-anchor # options:
# toc: true
# tocClassName: 'markdown-toc'
# tocFirstLevel: 2
# tocLastLevel: 6
# tocCallback:
# anchorLink: true
# anchorLinkSymbol: '#'
# anchorFirstLevel: 2
# anchorLastLevel: 6
# anchorLinkSpace: false
# anchorLinkSymbolClassName:
# anchorLinkBefore: true
# anchorClassName: 'markdown-anchor'
# resetIds: true
toc:
maxdepth: 3
class: toc
slugify: transliteration
decodeEntities: false
anchor:
position: after
symbol: '#'
style: header-anchor
math: math:
katex: katex:
css: 'https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css' css: 'https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css'

View File

@ -14,7 +14,11 @@
"dependencies": { "dependencies": {
"hexo": "^5.0.0", "hexo": "^5.0.0",
"hexo-admonition": "^1.1.2", "hexo-admonition": "^1.1.2",
"hexo-filter-fenced-code": "^1.0.2",
"hexo-filter-plantuml": "^2.1.0", "hexo-filter-plantuml": "^2.1.0",
"hexo-filter-sub": "^1.0.0",
"hexo-filter-sup": "^1.0.1",
"hexo-footnotes": "^1.0.2",
"hexo-generator-archive": "^1.0.0", "hexo-generator-archive": "^1.0.0",
"hexo-generator-category": "^1.0.0", "hexo-generator-category": "^1.0.0",
"hexo-generator-index": "^2.0.0", "hexo-generator-index": "^2.0.0",
@ -22,9 +26,9 @@
"hexo-math": "^4.0.0", "hexo-math": "^4.0.0",
"hexo-renderer-ejs": "^1.0.0", "hexo-renderer-ejs": "^1.0.0",
"hexo-renderer-less": "^2.0.2", "hexo-renderer-less": "^2.0.2",
"hexo-renderer-markdown-it-plus": "^1.0.4", "hexo-renderer-marked": "^4.0.0",
"hexo-renderer-stylus": "^2.0.0",
"hexo-server": "^2.0.0", "hexo-server": "^2.0.0",
"hexo-tag-katex": "^1.1.1",
"hexo-theme-landscape": "^0.0.3", "hexo-theme-landscape": "^0.0.3",
"uikit": "^3.6.18" "uikit": "^3.6.18"
} }