fix: extract all headers by default

pull/2032/head
Evan You 4 years ago
parent 821f54c2f0
commit e8433a70a4

@ -106,6 +106,7 @@ export const createMarkdownRenderer = async (
...options.frontmatter ...options.frontmatter
} as FrontmatterPluginOptions) } as FrontmatterPluginOptions)
.use(headersPlugin, { .use(headersPlugin, {
level: [2, 3, 4, 5, 6],
...options.headers ...options.headers
} as HeadersPluginOptions) } as HeadersPluginOptions)
.use(sfcPlugin, { .use(sfcPlugin, {

Loading…
Cancel
Save