blog v4.1
Link syntax with validation
Added a custom remark plugin that introduces a post: link syntax for referencing other posts. Instead of writing full URLs like /blog/2025/12/07/steering-the-vibe-commits/, I can now write [link text](post:steering-the-vibe-commits) and the plugin resolves it to the correct URL based on the post’s date. It also supports anchor links like post:slug#section.
The plugin validates links at build time and throws a helpful error if a referenced post doesn’t exist, listing some available slugs to help track down typos. Went through all existing posts to convert hardcoded internal links to the new syntax.
Also added a VS Code launch configuration for the dev server.
More blog
The software that produces this blog · visit blog