fix: add remark-sectionize in articles

This commit is contained in:
enscribe 2025-03-22 02:18:42 -07:00
parent af62bcb39f
commit 04a06debde
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
7 changed files with 77 additions and 9 deletions

View file

@ -13,6 +13,7 @@ import rehypePrettyCode from 'rehype-pretty-code'
// import sectionize from '@hbsnow/rehype-sectionize'
import remarkEmoji from 'remark-emoji'
import remarkMath from 'remark-math'
import remarkSectionize from 'remark-sectionize'
import remarkToc from 'remark-toc'
import { pluginCollapsibleSections } from '@expressive-code/plugin-collapsible-sections'
@ -102,6 +103,6 @@ export default defineConfig({
},
],
],
remarkPlugins: [remarkToc, remarkMath, remarkEmoji],
remarkPlugins: [remarkToc, remarkMath, remarkEmoji, remarkSectionize],
},
})