Open external links in new tab
parent
e7b89420a1
commit
d33dd70562
|
@ -24,10 +24,13 @@ export default defineConfig({
|
|||
syntaxHighlight: 'shiki',
|
||||
shikiConfig: { theme: 'dracula' },
|
||||
rehypePlugins: [
|
||||
rehypeExternalLinks,
|
||||
{
|
||||
target: '_blank',
|
||||
},
|
||||
[
|
||||
rehypeExternalLinks,
|
||||
{
|
||||
target: '_blank',
|
||||
rel: ['noopener', 'noreferrer'],
|
||||
},
|
||||
],
|
||||
],
|
||||
}),
|
||||
icon({
|
||||
|
|
Reference in New Issue