feat: responsive images
This commit is contained in:
parent
c3ac2c962d
commit
4a463d2794
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ export default defineConfig({
|
||||||
rehypePlugins: [rehypeKatex]
|
rehypePlugins: [rehypeKatex]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
image: {
|
||||||
|
responsiveStyles: true,
|
||||||
|
layouts: 'constrained',
|
||||||
|
},
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
locales: ["en", "zh_hans"],
|
locales: ["en", "zh_hans"],
|
||||||
defaultLocale: "en",
|
defaultLocale: "en",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue