Skip to content

Commit

Permalink
fix: extract all headers by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 7, 2023
1 parent 1457681 commit 580a8e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node/markdown/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export const createMarkdownRenderer = async (
...options.frontmatter
} as FrontmatterPluginOptions)
.use(headersPlugin, {
level: [2, 3, 4, 5, 6],
...options.headers
} as HeadersPluginOptions)
.use(sfcPlugin, {
Expand Down

0 comments on commit 580a8e1

Please sign in to comment.