tdoc v0.7.8 — template restyle, identity health checks, table layout
Three improvements that landed since v0.7.7. Worker already deployed.
Default doc template restyled to match Claude Code's markdown rendering
- Tables: rounded cells with white gutters (border-collapse: separate) instead of bottom-border rows
- Task lists: circle checkboxes
- Blockquote: soft gray bar + gray text (was black bar)
- Pre: rounded bordered panel (was left-rule slab)
- Headings: larger h1/h2, tighter letter-spacing
Identity-verifying health checks
A foreign local service can squat tdoc's port (seen in the wild: another daemon bound 7878) and answer 200 on /api/ping, making ping-based health checks false-positive and routing local doc URLs to the wrong service. /api/ping (local server + worker) now returns {ok, service: 'tdoc'} — the service field is the identity marker — and tdoc-new distinguishes tdoc-up / port-free / port-squatted and honors TDOC_PORT.
Desktop table layout fix
display:block on a <table> discards real table layout (uneven rows/gaps on some engines, reported on a published doc). The responsive overflow fallback is now scoped to max-width:760px, so desktop always gets true table layout.
🤖 Generated with Claude Code