Skip to content

Commit c43921a

Browse files
committed
Switch to hexo-renderer-markdown-it
1 parent 05d4d85 commit c43921a

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ public/
88
.deploy*/
99
package-lock.json
1010
*.orig
11+
public*/

_config.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,9 @@ flickr:
6363
api_key: 78501c2c12bff9c7a22c013d5155045a
6464
default_size: 'b'
6565

66-
marked:
67-
headerIds: false
68-
external_link:
69-
enable: false
70-
nofollow: true
66+
markdown:
67+
anchors:
68+
level: 10
7169

7270
feed:
7371
type:

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"hexo-generator-tag": "^1.0.0",
1414
"hexo-html-minifier": "^1.0.0",
1515
"hexo-renderer-ejs": "^1.0.0",
16-
"hexo-renderer-marked": "^4.0.0",
16+
"hexo-renderer-markdown-it": "^5.0.0",
1717
"hexo-renderer-stylus": "^2.0.1",
1818
"hexo-tag-flickr": "github:tomap/hexo-tag-flickr",
1919
"hexo-theme-minidyne": "3.2.7",
@@ -25,7 +25,7 @@
2525
"markdownlint": "^0.24.0"
2626
},
2727
"engines": {
28-
"node": ">= 10.18.1"
28+
"node": ">= 12"
2929
},
3030
"scripts": {
3131
"build": "hexo g",

0 commit comments

Comments
 (0)