Commit Graph

10 Commits

Author SHA1 Message Date
5cfc6224d4 fix: persist content zoom across restarts
localStorage is unavailable for the with_html page (about:blank opaque origin), so zoom was never saved. Store it in config_dir()/zoom.txt via the zoom:<pct> IPC message (400ms debounce) and restore it when the page reports ready.
2026-10-21 16:40:57 +08:00
eb4983813a docs: status after dark code theme 2026-10-21 16:34:09 +08:00
9717dc9690 feat: always-dark VS code blocks, remove Find button
- Replace github light/dark hljs themes with assets/hljs/vs-dark.css (#1e1e1e bg, VS token colors)
- Drop the prefers-color-scheme stylesheet switch; code blocks stay dark in both themes
- Remove the toolbar Find button and its strings/icon; Ctrl+F and the findbar are unchanged
- Print keeps the dark background via print-color-adjust: exact
- Delete unused github.min.css / github-dark.min.css
2026-10-21 16:33:56 +08:00
f95bee8155 docs: correct leftover temp count 2026-10-21 16:23:35 +08:00
ae2d5a3d04 docs: status after Ctrl+wheel zoom 2026-10-21 16:23:15 +08:00
1e8cbea902 feat: zoom content with Ctrl+wheel (5% step, 50-300%)
- Ctrl+wheel zooms preview and editor; 90ms throttle; preventDefault stops WebView2 page zoom
- Range widened to 50-300%, step unified at 5% for wheel, toolbar buttons and Ctrl +/-
- No mouse-anchor (same scrolling behavior as button zoom)
- Add agent/AGENTS.md: workspace boundary is the top rule; build/test temp dirs stay in target/
- build.ps1 redirects TEMP/TMP into target/tmp
2026-10-21 16:23:00 +08:00
1191cdd53b docs: add rolling project status 2026-10-21 16:14:51 +08:00
e622aed670 feat: remove toolbar open/print buttons (keep Ctrl+O/Ctrl+P) 2026-10-21 16:14:31 +08:00
0ca339dcf7 fix: strip windows verbatim prefix and build valid file base url 2026-10-21 16:13:28 +08:00
f63aff47a8 chore: baseline md-preview 1.4.2 + agent workspace 2026-10-21 16:06:27 +08:00