rehype-image-attr; descriptions for plugins

This commit is contained in:
DarkCat09 2023-07-24 17:52:51 +04:00
parent d51f0d3f03
commit 9dda240ebe
4 changed files with 152 additions and 21 deletions

View file

@ -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: {