feat(article): conf serveur +
feat(config): noopener norefer on links + fix(style): larger wrapper for editorial content + fix(structure): add assets folder in src
This commit is contained in:
parent
202303f8f7
commit
0838ea9a47
26 changed files with 143 additions and 51 deletions
|
@ -2,6 +2,7 @@ import { defineConfig } from 'astro/config'
|
|||
|
||||
import mdx from '@astrojs/mdx'
|
||||
import sitemap from '@astrojs/sitemap'
|
||||
import rehypeExternalLinks from 'rehype-external-links'
|
||||
|
||||
import { pluginLineNumbers } from '@expressive-code/plugin-line-numbers'
|
||||
import expressiveCode from 'astro-expressive-code'
|
||||
|
@ -15,6 +16,9 @@ export default defineConfig({
|
|||
domains: ['assets.nardu.in'],
|
||||
remotePatterns: [{ protocol: 'https' }]
|
||||
},
|
||||
markdown: {
|
||||
rehypePlugins: [[rehypeExternalLinks, { rel: ['noopener noreferer'] }]]
|
||||
},
|
||||
integrations: [
|
||||
expressiveCode({
|
||||
theme: 'one-dark-pro',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue