diff --git a/astro.config.mjs b/astro.config.mjs index addae3d..2761cee 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -24,10 +24,13 @@ export default defineConfig({ syntaxHighlight: 'shiki', shikiConfig: { theme: 'dracula' }, rehypePlugins: [ - rehypeExternalLinks, - { - target: '_blank', - }, + [ + rehypeExternalLinks, + { + target: '_blank', + rel: ['noopener', 'noreferrer'], + }, + ], ], }), icon({