rehype-image-attr; descriptions for plugins
This commit is contained in:
parent
d51f0d3f03
commit
9dda240ebe
4 changed files with 152 additions and 21 deletions
|
@ -9,6 +9,7 @@ import rehypeSlug from 'rehype-slug';
|
|||
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
|
||||
|
||||
import rehypeFigure from 'rehype-figure';
|
||||
import rehypeImageAttr from './rehype-image-attr.mjs';
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [compress()],
|
||||
|
@ -28,6 +29,7 @@ export default defineConfig({
|
|||
{ behavior: "append" },
|
||||
],
|
||||
rehypeFigure,
|
||||
rehypeImageAttr,
|
||||
],
|
||||
},
|
||||
redirects: {
|
||||
|
|
Loading…
Add table
Reference in a new issue