remark-astro-headings
v0.0.9
Published
A plugin for extracting headings out of MDX files and adding them to the frontmatter.
Downloads
2
Readme
= remark-astro-headings
A plugin for extracting headings out of MDX files and adding them to the frontmatter.
== Install
pnpm add remark-astro-headings
== Usage
import { remarkAstroHeadings } from 'remarkAstroHeadings';
export default defineConfig({
integrations: [
mdx({
remarkPlugins: [remarkAstroHeadings],
}),
],
});