Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/ewanc26/website. my website at ewancroft.uk ewancroft.uk
personal-website portfolio website
Something went wrong. Try again.
feat: add native Leaflet block rendering for blog posts master
Render Leaflet content blocks as Svelte components instead of converting to markdown. Handles BlobRef/CID class instances via JSON round-trip serialisation that converts them to plain POJOs before SvelteKit dehydration, then replaces blob refs with PDS URLs for image rendering. Components: LeafletBlocks (dispatcher), LeafletFacets (inline formatting), LeafletImage, LeafletCode, LeafletMath, LeafletEmbed, LeafletWebsiteCard, LeafletButton, LeafletBskyPost. Falls back to markdown rendering when blocks are unavailable.
Author Ewan Croft Date (Jun 1, 2026, 4:51 PM UTC) Commit f2b02722 f2b0272274dbd7253ce76441f00c145dd743d41e Parent 4f90c857 4f90c8571ffb2407d964eef758d151727c416dba