Back to mdsvex
Posts and Devlog entries are compiled by mdsvex 1.0 again (two weeks after svelte-markdown replaced 0.12). The reason: components and live demos in posts…
9 entries with this tag.
Posts and Devlog entries are compiled by mdsvex 1.0 again (two weeks after svelte-markdown replaced 0.12). The reason: components and live demos in posts…
After svelte-markdown replaced mdsvex, I went through the CMS and asked of each piece whether it still earned its place. It went from 977 to 694 lines of code.
Compared three ways to get a CMS: build our own, Sveltia CMS or TinaCMS (design/cms-study.md). Tina was out: its images must live in static/, it has no…
Added Playwright 1.64.1 (@playwright/test) and one smoke test, e2e/navigation.test.ts: it reads the links from the main nav, then clicks each one (the router)…
Added Vitest 5.1 (pnpm add -D vitest), with pnpm test (run once) and pnpm test:watch (run again on every save).
The toolbox's first tool, Base64 (/projects/toolbox/base64): text ↔ Base64 as UTF-8, with a URL-safe option (base64url), and a file → data URL with its size…
Ran Lighthouse's accessibility audit on the preview build (BASE_PATH=/portfolio pnpm build && BASE_PATH=/portfolio pnpm preview), not on dev. It passes.
Faster e2e on CI: fullyParallel with one worker per core, and the Google Chrome the runner already has (channel: 'chrome') instead of downloading Chromium…
A post can have a cover: cover.png (or .jpg, .webp) in its folder, with its alt text as cover: in the frontmatter. checkCover() fails the build when one comes…