Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display of Long Equations is Cut Off #285

Closed
Hasenpfote opened this issue Jan 14, 2025 · 7 comments
Closed

Display of Long Equations is Cut Off #285

Hasenpfote opened this issue Jan 14, 2025 · 7 comments

Comments

@Hasenpfote
Copy link
Contributor

When writing slightly longer equations, the display gets cut off.

before

For now, this issue can be resolved with the following workaround:

Insert the following code into .custom-md in src/styles/markdown.css:

    .katex-display {
        @apply block max-w-full overflow-x-auto whitespace-nowrap p-2;
    }

after

However, it is disappointing to see an awkward scrollbar appear.

Since this theme seems to use a great scrollbar, it would be wonderful to incorporate it and unify the design.
I hope you can consider this improvement.

Thank you!

@xiyuvi
Copy link

xiyuvi commented Jan 14, 2025

Can you share this lengthy equation for effect testing

@Hasenpfote
Copy link
Contributor Author

Hasenpfote commented Jan 14, 2025

@xiyuvi

The actual code is as follows:

- $\frac{d}{dh} \operatorname{Squad}(p_{i-1}, p_{i}, s_{i-1}, s_{i}, 1) =  \frac{d}{dh} \operatorname{Squad}(p_{i}, p_{i+1}, s_{i}, s_{i+1}, 0)$

  $$
  \begin{aligned}
  \frac{d}{dh} \operatorname{Squad}(p_{i-1}, p_{i}, s_{i-1}, s_{i}, 1)
  &=\operatorname{SLERP}(p_{i-1}, p_{i}; 1) \cdot \log{(\overline{p_{i-1}} \cdot p_{i})}
  - \operatorname{SLERP}(p_{i-1}, p_{i}; 1) \cdot \left(\frac{d}{dh} g_{i-1}(h)^{2h(1-h)}\right)(1)\\
  &=p_{i} \cdot \log{(\overline{p_{i-1}} \cdot p_{i})}
  - 2 p_{i} \cdot \theta_{g_{i-1}(1)} \mathbb{i}\\
  &=p_{i} \cdot \left(\log{(\overline{p_{i-1}} \cdot p_{i})}
  - 2 \log(g_{i-1}(1))\right)\\
  &=p_{i} \cdot \left(\log{(\overline{p_{i-1}} \cdot p_{i})}
  - 2 \log(\overline{p_{i}} \cdot s_{i})\right)\\
  \\
  \frac{d}{dh} \operatorname{Squad}(p_{i}, p_{i+1}, s_{i}, s_{i+1}, 0)
  &=\operatorname{SLERP}(p_{i}, p_{i+1}; 0) \cdot \log{(\overline{p_{i}} \cdot p_{i+1})}
  - \operatorname{SLERP}(p_{i}, p_{i+1}; 0) \cdot \left(\frac{d}{dh} g_{i}(h)^{2h(1-h)}\right)(0)\\
  &=p_{i} \cdot \log{(\overline{p_{i}} \cdot p_{i+1})}
  - 2 p_{i} \cdot \theta_{g_{i}(0)} \mathbb{i}\\
  &=p_{i} \cdot \left(\log{(\overline{p_{i}} \cdot p_{i+1})}
  - 2 \log{(g_{i}(0))}\right)\\
  &=p_{i} \cdot \left(\log{(\overline{p_{i}} \cdot p_{i+1})}
  - 2 \log{(\overline{p_{i}} \cdot s_{i})}\right)
  \end{aligned}
  $$

If a single line is too long, you don't have to adhere strictly to the above code. For example:

$$
x=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 \cdots
$$

$$ x=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111\cdots $$

I appreciate your help.

@xiyuvi
Copy link

xiyuvi commented Jan 15, 2025

I have resolved this issue, but I cannot see the failure message of Vercel. Before the author merges, you can manually replace the following content to achieve the desired effect

src\layouts\Layout.astro ,function initCustomScrollbar

function initCustomScrollbar() {
	const bodyElement = document.querySelector('body');
	if (!bodyElement) return;
	OverlayScrollbars(
		// docs say that a initialization to the body element would affect native functionality like window.scrollTo
		// but just leave it here for now
		{
			target: bodyElement,
			cancel: {
				nativeScrollbarsOverlaid: true,    // don't initialize the overlay scrollbar if there is a native one
			}
		}, {
		scrollbars: {
			theme: 'scrollbar-base scrollbar-auto py-1',
			autoHide: 'move',
			autoHideDelay: 500,
			autoHideSuspend: false,
		},
	});
	const preElements = document.querySelectorAll('pre');
	preElements.forEach((ele) => {
		OverlayScrollbars(ele, {
			scrollbars: {
				theme: 'scrollbar-base scrollbar-dark px-2',
				autoHide: 'leave',
				autoHideDelay: 500,
				autoHideSuspend: false
			}
		});
	});
	const katexElements = document.querySelectorAll('.katex-display') as NodeListOf<HTMLElement>;
	katexElements.forEach((ele) => {
		OverlayScrollbars(ele, {
			scrollbars: {
				theme: 'scrollbar-base scrollbar-auto py-1',
			}
		});
	});
}

@xiyuvi
Copy link

xiyuvi commented Jan 15, 2025

image

@Hasenpfote
Copy link
Contributor Author

I have set up a Vercel environment and confirmed that there are no errors.
Since I usually use Netlify, I'm providing the logs just in case.
The pull request is ready; would you like me to submit it on your behalf?

The live demo is available here.
There is a very long \pi at the bottom.

[12:04:52.011] Running build in Washington, D.C., USA (East) – iad1
[12:04:52.709] Cloning github.com/Hasenpfote/fuwari (Branch: fix-equation-cutoff, Commit: 48b9c13)
[12:04:52.863] Skipping build cache, deployment was triggered without cache.
[12:04:53.282] Cloning completed: 575.21ms
[12:04:53.671] Running "vercel build"
[12:04:54.130] Vercel CLI 39.3.0
[12:04:55.107] Detected `pnpm-lock.yaml` version 9 generated by [email protected]
[12:04:55.125] Installing dependencies...
[12:04:57.389] Lockfile is up to date, resolution step is skipped
[12:04:57.503] Progress: resolved 1, reused 0, downloaded 0, added 0
[12:04:57.697] Packages: +1040
[12:04:57.697] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[12:04:58.504] Progress: resolved 1040, reused 0, downloaded 16, added 4
[12:04:59.504] Progress: resolved 1040, reused 0, downloaded 76, added 62
[12:05:00.506] Progress: resolved 1040, reused 0, downloaded 133, added 120
[12:05:01.508] Progress: resolved 1040, reused 0, downloaded 187, added 171
[12:05:02.508] Progress: resolved 1040, reused 0, downloaded 300, added 291
[12:05:03.510] Progress: resolved 1040, reused 0, downloaded 423, added 413
[12:05:04.513] Progress: resolved 1040, reused 0, downloaded 503, added 503
[12:05:05.514] Progress: resolved 1040, reused 0, downloaded 661, added 647
[12:05:06.528] Progress: resolved 1040, reused 0, downloaded 722, added 708
[12:05:08.666] Progress: resolved 1040, reused 0, downloaded 722, added 709
[12:05:09.666] Progress: resolved 1040, reused 0, downloaded 763, added 755
[12:05:10.668] Progress: resolved 1040, reused 0, downloaded 845, added 839
[12:05:11.668] Progress: resolved 1040, reused 0, downloaded 937, added 924
[12:05:12.670] Progress: resolved 1040, reused 0, downloaded 980, added 965
[12:05:13.671] Progress: resolved 1040, reused 0, downloaded 1039, added 1033
[12:05:13.688] Progress: resolved 1040, reused 0, downloaded 1040, added 1040, done
[12:05:14.065] .../node_modules/@parcel/watcher install$ node scripts/build-from-source.js
[12:05:14.066] .../[email protected]/node_modules/sharp install$ node install/check
[12:05:14.067] .../[email protected]/node_modules/esbuild postinstall$ node install.js
[12:05:14.067] .../.pnpm/[email protected]/node_modules/swup postinstall$ opencollective-postinstall || true
[12:05:14.091] .../node_modules/@biomejs/biome postinstall$ node scripts/postinstall.js
[12:05:14.191] .../node_modules/@parcel/watcher install: Done
[12:05:14.265] .../.pnpm/[email protected]/node_modules/swup postinstall: Done
[12:05:14.279] .../node_modules/@biomejs/biome postinstall: Done
[12:05:14.727] .../[email protected]/node_modules/esbuild postinstall: Done
[12:05:14.950] .../[email protected]/node_modules/sharp install: Done
[12:05:15.159] 
[12:05:15.160] dependencies:
[12:05:15.160] + @astrojs/check 0.9.4
[12:05:15.160] + @astrojs/rss 4.0.9
[12:05:15.160] + @astrojs/sitemap 3.2.1
[12:05:15.166] + @astrojs/svelte 6.0.1
[12:05:15.166] + @astrojs/tailwind 5.1.2
[12:05:15.166] + @fontsource-variable/jetbrains-mono 5.1.1
[12:05:15.167] + @fontsource/roboto 5.1.0
[12:05:15.167] + @iconify-json/fa6-brands 1.2.1
[12:05:15.167] + @iconify-json/fa6-regular 1.2.1
[12:05:15.167] + @iconify-json/fa6-solid 1.2.1
[12:05:15.167] + @iconify-json/material-symbols 1.2.5
[12:05:15.167] + @iconify/svelte 4.0.2
[12:05:15.167] + @sveltejs/vite-plugin-svelte 4.0.0
[12:05:15.167] + @swup/astro 1.4.1
[12:05:15.168] + @tailwindcss/typography 0.5.15
[12:05:15.168] + astro 4.16.13
[12:05:15.168] + astro-compress 2.3.5
[12:05:15.168] + astro-icon 1.1.1
[12:05:15.168] + hastscript 9.0.0
[12:05:15.168] + katex 0.16.19
[12:05:15.168] + markdown-it 14.1.0
[12:05:15.168] + mdast-util-to-string 4.0.0
[12:05:15.168] + overlayscrollbars 2.10.0
[12:05:15.168] + pagefind 1.1.1
[12:05:15.168] + photoswipe 5.4.4
[12:05:15.168] + reading-time 1.5.0
[12:05:15.169] + rehype-autolink-headings 7.1.0
[12:05:15.169] + rehype-components 0.3.0
[12:05:15.169] + rehype-katex 7.0.1
[12:05:15.169] + rehype-slug 6.0.0
[12:05:15.169] + remark-directive 3.0.0
[12:05:15.169] + remark-directive-rehype 0.4.2
[12:05:15.169] + remark-github-admonitions-to-directives 1.0.5
[12:05:15.169] + remark-math 6.0.0
[12:05:15.169] + remark-sectionize 2.0.0
[12:05:15.169] + sanitize-html 2.13.1
[12:05:15.169] + sharp 0.33.5
[12:05:15.170] + stylus 0.63.0
[12:05:15.170] + svelte 5.2.2
[12:05:15.170] + tailwindcss 3.4.14
[12:05:15.170] + typescript 5.6.3
[12:05:15.170] + unist-util-visit 5.0.0
[12:05:15.170] 
[12:05:15.170] devDependencies:
[12:05:15.170] + @astrojs/ts-plugin 1.10.4
[12:05:15.170] + @biomejs/biome 1.8.3
[12:05:15.170] + @rollup/plugin-yaml 4.1.2
[12:05:15.170] + @types/markdown-it 14.1.2
[12:05:15.170] + @types/mdast 4.0.4
[12:05:15.170] + @types/sanitize-html 2.13.0
[12:05:15.171] + postcss-import 16.1.0
[12:05:15.171] + postcss-nesting 13.0.1
[12:05:15.171] 
[12:05:15.189] Done in 18.4s
[12:05:15.258] Running "pnpm run build"
[12:05:16.322] 
[12:05:16.322] > [email protected] build /vercel/path0
[12:05:16.323] > astro build && pagefind --site dist
[12:05:16.323] 
[12:05:19.075] 03:05:19 [vite] Forced re-optimization of dependencies
[12:05:19.701] 03:05:19 [types] Generated 683ms
[12:05:19.702] 03:05:19 [build] output: "static"
[12:05:19.702] 03:05:19 [build] directory: /vercel/path0/dist/
[12:05:19.702] 03:05:19 [build] Collecting build info...
[12:05:19.703] 03:05:19 [build] ✓ Completed in 795ms.
[12:05:19.705] 03:05:19 [build] Building static entrypoints...
[12:05:24.470] 03:05:24 [astro-icon] Loaded icons from fa6-brands, fa6-regular, fa6-solid, material-symbols
[12:05:26.874] 03:05:26 [vite] �[32m✓ built in 7.13s�[39m
[12:05:26.875] 03:05:26 [build] ✓ Completed in 7.17s.
[12:05:26.875] 
[12:05:26.876]  building client (vite) 
[12:05:26.895] 03:05:26 [vite] transforming...
[12:05:28.154] 03:05:28 [vite] �[32m✓�[39m 143 modules transformed.
[12:05:28.229] 03:05:28 [vite] rendering chunks...
[12:05:28.338] 03:05:28 [vite] computing gzip size...
[12:05:28.352] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[35mhoisted.DbgSiMEJ.css           �[39m�[1m�[2m17.70 kB�[22m�[1m�[22m�[2m │ gzip:  3.70 kB�[22m
[12:05:28.352] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mclass.Bvena8yX.js              �[39m�[1m�[2m 0.16 kB�[22m�[1m�[22m�[2m │ gzip:  0.11 kB�[22m
[12:05:28.352] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36murl-utils.Cvx6LZw3.js          �[39m�[1m�[2m 0.26 kB�[22m�[1m�[22m�[2m │ gzip:  0.19 kB�[22m
[12:05:28.352] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36minput.2AtaZ1Cd.js              �[39m�[1m�[2m 0.44 kB�[22m�[1m�[22m�[2m │ gzip:  0.28 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36msetting-utils.De4sCiaH.js      �[39m�[1m�[2m 0.91 kB�[22m�[1m�[22m�[2m │ gzip:  0.44 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mpreload-helper.CLcXU_4U.js     �[39m�[1m�[2m 0.99 kB�[22m�[1m�[22m�[2m │ gzip:  0.60 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mclient.svelte.Bgw0o_X2.js      �[39m�[1m�[2m 1.09 kB�[22m�[1m�[22m�[2m │ gzip:  0.60 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwupScriptsPlugin.o5PkFIdr.js  �[39m�[1m�[2m 1.10 kB�[22m�[1m�[22m�[2m │ gzip:  0.61 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mindex.modern.CkIAsQri.js       �[39m�[1m�[2m 1.76 kB�[22m�[1m�[22m�[2m │ gzip:  0.91 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mpage.D0rYE--H.js               �[39m�[1m�[2m 1.87 kB�[22m�[1m�[22m�[2m │ gzip:  0.88 kB�[22m
[12:05:28.353] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mDisplaySettings.RWvjpy_8.js    �[39m�[1m�[2m 2.06 kB�[22m�[1m�[22m�[2m │ gzip:  1.11 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwupHeadPlugin.BKT_SVYP.js     �[39m�[1m�[2m 2.52 kB�[22m�[1m�[22m�[2m │ gzip:  1.25 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mLightDarkSwitch.DLJ-ORTV.js    �[39m�[1m�[2m 3.15 kB�[22m�[1m�[22m�[2m │ gzip:  1.27 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mzh_TW.DA4cTuyj.js              �[39m�[1m�[2m 4.77 kB�[22m�[1m�[22m�[2m │ gzip:  2.05 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwupA11yPlugin.D84kWg1p.js     �[39m�[1m�[2m 5.97 kB�[22m�[1m�[22m�[2m │ gzip:  2.29 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwupPreloadPlugin.CnFDLkk0.js  �[39m�[1m�[2m 6.00 kB�[22m�[1m�[22m�[2m │ gzip:  2.35 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSearch.BAKrEkt5.js             �[39m�[1m�[2m 6.11 kB�[22m�[1m�[22m�[2m │ gzip:  2.80 kB�[22m
[12:05:28.354] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwupScrollPlugin.CPHDirUY.js   �[39m�[1m�[2m 8.00 kB�[22m�[1m�[22m�[2m │ gzip:  2.40 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mrender.CKYNopHH.js             �[39m�[1m�[2m18.07 kB�[22m�[1m�[22m�[2m │ gzip:  7.32 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mSwup.T76dPaas.js               �[39m�[1m�[2m21.63 kB�[22m�[1m�[22m�[2m │ gzip:  7.41 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mIcon.BB_x9DQs.js               �[39m�[1m�[2m26.50 kB�[22m�[1m�[22m�[2m │ gzip: 10.78 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mhoisted.pp1LUMP6.js            �[39m�[1m�[2m54.07 kB�[22m�[1m�[22m�[2m │ gzip: 22.03 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[2mdist/�[22m�[2m_astro/�[22m�[36mphotoswipe.esm.CKijkUPa.js     �[39m�[1m�[2m60.42 kB�[22m�[1m�[22m�[2m │ gzip: 17.49 kB�[22m
[12:05:28.355] 03:05:28 [vite] �[32m✓ built in 1.46s�[39m
[12:05:28.369] 
[12:05:28.369]  generating static routes 
[12:05:28.521] 03:05:28 ▶ src/pages/about.astro
[12:05:28.552] 03:05:28   └─ /about/index.html (+31ms)
[12:05:28.555] 03:05:28 ▶ src/pages/archive/category/uncategorized.astro
[12:05:28.561] 03:05:28   └─ /archive/category/uncategorized/index.html (+6ms)
[12:05:28.563] 03:05:28 ▶ src/pages/archive/category/[category].astro
[12:05:28.577] 03:05:28   ├─ /archive/category/Examples/index.html (+12ms)
[12:05:28.583] 03:05:28   └─ /archive/category/Guides/index.html (+7ms)
[12:05:28.585] 03:05:28 ▶ src/pages/archive/tag/[tag].astro
[12:05:28.594] 03:05:28   ├─ /archive/tag/Demo/index.html (+8ms)
[12:05:28.605] 03:05:28   ├─ /archive/tag/Example/index.html (+11ms)
[12:05:28.624] 03:05:28   ├─ /archive/tag/Markdown/index.html (+19ms)
[12:05:28.630] 03:05:28   ├─ /archive/tag/Fuwari/index.html (+7ms)
[12:05:28.637] 03:05:28   ├─ /archive/tag/Blogging/index.html (+6ms)
[12:05:28.647] 03:05:28   ├─ /archive/tag/Customization/index.html (+11ms)
[12:05:28.658] 03:05:28   └─ /archive/tag/Video/index.html (+10ms)
[12:05:28.659] 03:05:28 ▶ src/pages/archive/index.astro
[12:05:28.663] 03:05:28   └─ /archive/index.html (+4ms)
[12:05:28.674] 03:05:28 ▶ src/pages/posts/[...slug].astro
[12:05:28.687] 03:05:28   ├─ /posts/guide/index.html (+11ms)
[12:05:28.695] 03:05:28   ├─ /posts/markdown-extended/index.html (+9ms)
[12:05:28.706] 03:05:28   ├─ /posts/markdown/index.html (+11ms)
[12:05:28.714] 03:05:28   └─ /posts/video/index.html (+8ms)
[12:05:28.715] 03:05:28 λ src/pages/robots.txt.ts
[12:05:28.717] 03:05:28   └─ /robots.txt (+1ms)
[12:05:28.772] 03:05:28 λ src/pages/rss.xml.ts
[12:05:28.807] 03:05:28   └─ /rss.xml (+34ms)
[12:05:28.810] 03:05:28 ▶ src/pages/[...page].astro
[12:05:28.820] 03:05:28   └─ /index.html (+9ms)
[12:05:28.820] 03:05:28 ✓ Completed in 453ms.
[12:05:28.820] 
[12:05:28.821]  generating optimized images 
[12:05:28.898] 03:05:28   ▶ /_astro/demo-avatar.CxcI0ivM_ZCdd5H.webp (before: 406kB, after: 41kB) (+77ms) (1/2)
[12:05:29.125] 03:05:29   ▶ /_astro/cover.CgGywNHJ_1wRFtk.webp (before: 218kB, after: 144kB) (+226ms) (2/2)
[12:05:29.127] 03:05:29 ✓ Completed in 306ms.
[12:05:29.127] 
[12:05:29.144] 03:05:29 [@astrojs/sitemap] `sitemap-index.xml` created at `dist`
[12:05:29.588] (-6.02 KB)	10.10% reduction in //dist/index.html
[12:05:29.763] (-4.23 KB)	10.98% reduction in //dist/about/index.html
[12:05:29.917] (-5.23 KB)	12.63% reduction in //dist/archive/index.html
[12:05:30.104] (-4.69 KB)	9.23% reduction in //dist/posts/guide/index.html
[12:05:30.308] (-5.04 KB)	8.64% reduction in //dist/posts/markdown/index.html
[12:05:30.427] (-5.21 KB)	9.42% reduction in //dist/posts/markdown-extended/index.html
[12:05:30.566] (-4.53 KB)	9.51% reduction in //dist/posts/video/index.html
[12:05:30.679] (-4.84 KB)	12.11% reduction in //dist/archive/category/Examples/index.html
[12:05:30.778] (-4.05 KB)	11.02% reduction in //dist/archive/category/Guides/index.html
[12:05:30.867] (-3.64 KB)	10.42% reduction in //dist/archive/category/uncategorized/index.html
[12:05:30.962] (-4.45 KB)	11.55% reduction in //dist/archive/tag/Blogging/index.html
[12:05:31.041] (-4.05 KB)	11.02% reduction in //dist/archive/tag/Customization/index.html
[12:05:31.138] (-4.45 KB)	11.55% reduction in //dist/archive/tag/Demo/index.html
[12:05:31.212] (-4.45 KB)	11.54% reduction in //dist/archive/tag/Example/index.html
[12:05:31.292] (-4.44 KB)	11.64% reduction in //dist/archive/tag/Fuwari/index.html
[12:05:31.364] (-4.45 KB)	11.54% reduction in //dist/archive/tag/Markdown/index.html
[12:05:31.437] (-4.05 KB)	11.03% reduction in //dist/archive/tag/Video/index.html
[12:05:31.439] ✓ Successfully compressed a total of 17 HTML files for 77.83 KB.
[12:05:31.459] (-23 Bytes)	1.12% reduction in //dist/_astro/DisplaySettings.RWvjpy_8.js
[12:05:31.816] (-59 Bytes)	0.22% reduction in //dist/_astro/Icon.BB_x9DQs.js
[12:05:31.832] (-NaN undefined)	-0.10% reduction in //dist/_astro/LightDarkSwitch.DLJ-ORTV.js
[12:05:31.889] (-79 Bytes)	1.29% reduction in //dist/_astro/Search.BAKrEkt5.js
[12:05:32.169] 03:05:32 [build] Waiting for integration "astro-compress", hook "astro:build:done"...
[12:05:32.172] (-NaN undefined)	-0.43% reduction in //dist/_astro/Swup.T76dPaas.js
[12:05:32.229] (-NaN undefined)	-0.02% reduction in //dist/_astro/SwupA11yPlugin.D84kWg1p.js
[12:05:32.252] (-NaN undefined)	-0.71% reduction in //dist/_astro/SwupHeadPlugin.BKT_SVYP.js
[12:05:32.295] (-NaN undefined)	-0.60% reduction in //dist/_astro/SwupPreloadPlugin.CnFDLkk0.js
[12:05:32.304] (-NaN undefined)	-0.09% reduction in //dist/_astro/SwupScriptsPlugin.o5PkFIdr.js
[12:05:32.370] (-NaN undefined)	-0.11% reduction in //dist/_astro/SwupScrollPlugin.CPHDirUY.js
[12:05:32.373] (-1 Bytes)	0.64% reduction in //dist/_astro/class.Bvena8yX.js
[12:05:32.381] (-NaN undefined)	-0.83% reduction in //dist/_astro/client.svelte.Bgw0o_X2.js
[12:05:32.851] (-425 Bytes)	0.79% reduction in //dist/_astro/hoisted.pp1LUMP6.js
[12:05:32.895] (-NaN undefined)	-0.34% reduction in //dist/_astro/index.modern.CkIAsQri.js
[12:05:32.900] (-10 Bytes)	2.27% reduction in //dist/_astro/input.2AtaZ1Cd.js
[12:05:32.916] (-NaN undefined)	-1.93% reduction in //dist/_astro/page.D0rYE--H.js
[12:05:33.215] (-25 Bytes)	0.04% reduction in //dist/_astro/photoswipe.esm.CKijkUPa.js
[12:05:33.222] (-NaN undefined)	-1.02% reduction in //dist/_astro/preload-helper.CLcXU_4U.js
[12:05:33.404] (-150 Bytes)	0.83% reduction in //dist/_astro/render.CKYNopHH.js
[12:05:33.410] (-12 Bytes)	1.32% reduction in //dist/_astro/setting-utils.De4sCiaH.js
[12:05:33.414] (-15 Bytes)	5.84% reduction in //dist/_astro/url-utils.Cvx6LZw3.js
[12:05:33.434] (-1 Bytes)	0.02% reduction in //dist/_astro/zh_TW.DA4cTuyj.js
[12:05:33.435] ✓ Successfully compressed a total of 22 JavaScript files for 577 Bytes.
[12:05:33.438] 03:05:33 [build] 17 page(s) built in 14.53s
[12:05:33.439] 03:05:33 [build] Complete!
[12:05:33.550] 
[12:05:33.551] Running Pagefind v1.1.1 (Extended)
[12:05:33.551] Running from: "/vercel/path0"
[12:05:33.551] Source:       "dist"
[12:05:33.551] Output:       "dist/pagefind"
[12:05:33.552] 
[12:05:33.552] [Walking source directory]
[12:05:33.553] Found 17 files matching **/*.{html}
[12:05:33.553] 
[12:05:33.554] [Parsing files]
[12:05:33.605] Found a data-pagefind-body element on the site.
[12:05:33.605] ↳ Ignoring pages without this tag.
[12:05:33.606] 
[12:05:33.606] [Reading languages]
[12:05:33.606] Discovered 1 language: en
[12:05:33.606] 
[12:05:33.606] [Building search indexes]
[12:05:33.607] Total: 
[12:05:33.607]   Indexed 1 language
[12:05:33.608]   Indexed 5 pages
[12:05:33.608]   Indexed 471 words
[12:05:33.608]   Indexed 0 filters
[12:05:33.608]   Indexed 0 sorts
[12:05:33.614] 
[12:05:33.614] Finished in 0.065 seconds
[12:05:33.726] Build Completed in /vercel/output [39s]
[12:05:33.876] Deploying outputs...
[12:05:35.952] 
[12:05:36.249] Deployment completed
[12:05:51.207] Uploading build cache [128.50 MB]...
[12:05:52.889] Build cache uploaded: 1.683s

@xiyuvi
Copy link

xiyuvi commented Jan 16, 2025

@Hasenpfote You can submit it, there was an error in my original submission

@Hasenpfote
Copy link
Contributor Author

I have submitted the PR(#287), but it seems I encountered the same issue.
I am currently looking into the situation.

@saicaca saicaca closed this as completed Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants