me
/
ethanreece.com
Archived
1
0
Fork 0

Open external links in new tab

main
Ethan Reece 2023-08-19 15:10:02 -05:00
parent e7b89420a1
commit d33dd70562
Signed by: me
GPG Key ID: D3993665FF92E1C3
1 changed files with 7 additions and 4 deletions

View File

@ -24,10 +24,13 @@ export default defineConfig({
syntaxHighlight: 'shiki', syntaxHighlight: 'shiki',
shikiConfig: { theme: 'dracula' }, shikiConfig: { theme: 'dracula' },
rehypePlugins: [ rehypePlugins: [
rehypeExternalLinks, [
{ rehypeExternalLinks,
target: '_blank', {
}, target: '_blank',
rel: ['noopener', 'noreferrer'],
},
],
], ],
}), }),
icon({ icon({