mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-23 10:41:31 +08:00
Enhance BlogPost layout with image modal functionality; add astro-link-preview integration and update dependencies
This commit is contained in:
@ -10,6 +10,7 @@ import { expressiveCodeOptions } from './src/site.config'
|
||||
import icon from 'astro-icon'
|
||||
import react from '@astrojs/react'
|
||||
import cloudflare from '@astrojs/cloudflare'
|
||||
import linkPreview from 'astro-link-preview'
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
@ -60,7 +61,8 @@ export default defineConfig({
|
||||
local: './src/icons/*.svg'
|
||||
}
|
||||
}),
|
||||
react()
|
||||
react(),
|
||||
linkPreview()
|
||||
],
|
||||
markdown: {
|
||||
remarkPlugins: [remarkUnwrapImages, remarkReadingTime],
|
||||
|
Reference in New Issue
Block a user