mirror of
https://github.com/10h30/blog-balodeplao.git
synced 2026-05-12 15:21:15 +09:00
feat: add YouTube embedding support with lite-youtube-embed and create remarkYouTube plugin
This commit is contained in:
@@ -7,6 +7,7 @@ import remarkReadingTime from "remark-reading-time";
|
||||
import remarkUnwrapImages from "remark-unwrap-images";
|
||||
import { remarkR2Images } from "./src/plugins/remark-r2-images.mjs";
|
||||
import { rehypePictureWebp } from "./src/plugins/rehype-picture-webp.mjs";
|
||||
import { remarkYouTube } from "./src/plugins/remark-youtube.mjs";
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://balodeplao.com/",
|
||||
@@ -22,6 +23,7 @@ export default defineConfig({
|
||||
},
|
||||
remarkR2Images,
|
||||
remarkUnwrapImages,
|
||||
remarkYouTube,
|
||||
],
|
||||
rehypePlugins: [rehypePictureWebp],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user