Skip to content

Commit

Permalink
Enable prependRoot by default (#203)
Browse files Browse the repository at this point in the history
breaking change
  • Loading branch information
tomap committed Sep 12, 2021
1 parent 62e6f7f commit 4f21623
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -37,7 +37,7 @@ marked:
dompurify: false,
headerIds: true
lazyload: false
prependRoot: false
prependRoot: true
postAsset: false
external_link:
enable: false
Expand Down
3 changes: 1 addition & 2 deletions index.js
Expand Up @@ -18,8 +18,7 @@ hexo.config.marked = Object.assign({
headerIds: true,
anchorAlias: false,
lazyload: false,
// TODO: enable prependRoot by default in v4
prependRoot: false,
prependRoot: true,
postAsset: false,
external_link: {
enable: false,
Expand Down

0 comments on commit 4f21623

Please sign in to comment.