turn off smartypants so the rendered pages stay ascii
build-and-deploy / build (push) Failing after 12m30s

This commit is contained in:
2026-08-17 23:23:31 +10:00
parent 43188589ab
commit 7542ae2665
+4 -2
View File
@@ -8,7 +8,7 @@ import tailwindcss from "@tailwindcss/vite";
export default defineConfig({ export default defineConfig({
site: "https://www.bztmon.com", site: "https://www.bztmon.com",
// Always emit/expect trailing slashes so internal links hit the final URL directly // Always emit/expect trailing slashes so internal links hit the final URL directly
// (no nginx dir-redirect no stray :8080 / cached 301s). // (no nginx dir-redirect -> no stray :8080 / cached 301s).
trailingSlash: "always", trailingSlash: "always",
integrations: [sitemap()], integrations: [sitemap()],
build: { build: {
@@ -16,8 +16,10 @@ export default defineConfig({
inlineStylesheets: "never", inlineStylesheets: "never",
}, },
markdown: { markdown: {
// Keep rendered prose ASCII: no curly-quote/dash typesetting at build.
smartypants: false,
shikiConfig: { shikiConfig: {
// Dual theme via CSS variables colours switch with our data-theme, no // Dual theme via CSS variables -> colours switch with our data-theme, no
// hard-coded per-token colours baked to one theme. // hard-coded per-token colours baked to one theme.
themes: { light: "github-light", dark: "github-dark" }, themes: { light: "github-light", dark: "github-dark" },
defaultColor: false, defaultColor: false,