Skip to content

Commit

Permalink
Enable prependRoot by default
Browse files Browse the repository at this point in the history
breaking change
  • Loading branch information
tomap committed Aug 20, 2021
1 parent 669b057 commit c9f0d7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 c9f0d7a

Please sign in to comment.