From d54b1f8ad93a2dcf09e1609701d4ff050ee721cd Mon Sep 17 00:00:00 2001 From: Evorp <3vorpgaming@gmail.com> Date: Mon, 1 Jul 2024 10:41:26 -0700 Subject: [PATCH] lazy load all images --- .vitepress/config.ts | 5 + pages/dungeons/alpha-img.md | 6 +- pages/dungeons/items-tutorial.md | 110 ++++++++++---------- pages/dungeons/loader-texture.md | 22 ++-- pages/manuals/branding-guidelines.md | 34 +++--- pages/mods/add-new-mod.md | 8 +- pages/mods/add-new-version.md | 6 +- pages/mods/add-textures-commands.md | 4 +- pages/mods/add-textures.md | 12 +-- pages/textures/cf32-texturing-guidelines.md | 102 +++++++++--------- pages/textures/f32-texturing-guidelines.md | 95 +++++++++-------- pages/textures/f64-texturing-guidelines.md | 22 ++-- 12 files changed, 217 insertions(+), 209 deletions(-) diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 0f8b0e2..c9ff63d 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -60,6 +60,11 @@ export default () => { }, cleanUrls: true, outDir: "./dist", + markdown: { + image: { + lazyLoading: true, + }, + }, vite: { resolve: { alias: [ diff --git a/pages/dungeons/alpha-img.md b/pages/dungeons/alpha-img.md index f54da7d..67d4e73 100644 --- a/pages/dungeons/alpha-img.md +++ b/pages/dungeons/alpha-img.md @@ -31,7 +31,7 @@ _If you find any bugs, please post a new issue on GitHub._