build:更改渲染引擎。
This commit is contained in:
parent
c935c29a2c
commit
a7088384b0
104
_config.yml
104
_config.yml
|
@ -40,7 +40,7 @@ external_link:
|
|||
exclude: ''
|
||||
filename_case: 0
|
||||
render_drafts: false
|
||||
post_asset_folder: false
|
||||
post_asset_folder: true
|
||||
relative_link: false
|
||||
future: true
|
||||
highlight:
|
||||
|
@ -105,47 +105,69 @@ deploy:
|
|||
type: ''
|
||||
|
||||
# Plugins Configurations
|
||||
markdown_it_plus:
|
||||
highlight: true
|
||||
html: true
|
||||
xhtmlOut: true
|
||||
marked:
|
||||
gfm: true
|
||||
pedantic: false
|
||||
breaks: true
|
||||
langPrefix:
|
||||
linkify: true
|
||||
typographer:
|
||||
quotes: “”‘’
|
||||
pre_class: highlight
|
||||
plugins:
|
||||
- plugin:
|
||||
name: markdown-it-mark
|
||||
enable: true
|
||||
- plugin:
|
||||
name: markdown-it-toc-and-anchor
|
||||
enable: true
|
||||
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
|
||||
smartLists: true
|
||||
smartypants: true
|
||||
quotes: '“”‘’'
|
||||
modifyAnchors: 0
|
||||
anchorAlias: false
|
||||
autolink: true
|
||||
mangle: true
|
||||
sanitizeUrl: false
|
||||
headerIds: true
|
||||
lazyload: false
|
||||
prependRoot: false
|
||||
postAsset: false
|
||||
external_link:
|
||||
enable: false
|
||||
exclude: []
|
||||
nofollow: false
|
||||
disableNunjucks: false
|
||||
descriptionLists: true
|
||||
# markdown_it_plus:
|
||||
# highlight: true
|
||||
# html: true
|
||||
# xhtmlOut: true
|
||||
# breaks: true
|
||||
# langPrefix:
|
||||
# linkify: true
|
||||
# typographer:
|
||||
# quotes: “”‘’
|
||||
# pre_class: highlight
|
||||
# plugins:
|
||||
# - plugin:
|
||||
# name: markdown-it-mark
|
||||
# enable: true
|
||||
# - plugin:
|
||||
# name: markdown-it-toc-and-anchor
|
||||
# enable: true
|
||||
# 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:
|
||||
katex:
|
||||
css: 'https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css'
|
||||
|
|
|
@ -14,7 +14,11 @@
|
|||
"dependencies": {
|
||||
"hexo": "^5.0.0",
|
||||
"hexo-admonition": "^1.1.2",
|
||||
"hexo-filter-fenced-code": "^1.0.2",
|
||||
"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-category": "^1.0.0",
|
||||
"hexo-generator-index": "^2.0.0",
|
||||
|
@ -22,9 +26,9 @@
|
|||
"hexo-math": "^4.0.0",
|
||||
"hexo-renderer-ejs": "^1.0.0",
|
||||
"hexo-renderer-less": "^2.0.2",
|
||||
"hexo-renderer-markdown-it-plus": "^1.0.4",
|
||||
"hexo-renderer-stylus": "^2.0.0",
|
||||
"hexo-renderer-marked": "^4.0.0",
|
||||
"hexo-server": "^2.0.0",
|
||||
"hexo-tag-katex": "^1.1.1",
|
||||
"hexo-theme-landscape": "^0.0.3",
|
||||
"uikit": "^3.6.18"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user