Digital Garden (site)

More Astro work yesterday. I'm working on a custom changelog/diff plugin that creates a page in a Starlight project that does the following things:

  • Git history tracking for content (additions/updates/removals)

    • Links to the changed & added pages

    • Renders partial diffs showing what changed in updated pages

  • All in a date-organized view similar to a changelog

You can view the final implementation here

Note Taker (code)

On a personal level, my goal with today is to see how well I can stick to a single project for most of the day.

I'd like to get the dialect of markdown and the editor's ui & ux completed. This means parsing editor specific frontmatter and task collection, as well as code block syntax highlighting. I tend to have trouble with writing bindings for async JS code in Fable so we'll see how integrating shiki goes.

There are also a couple of mismatches between the decoded JSON with Thoth and what Wails sends to the front-end. I've only been programming in FSharp for about a year and while I love it, decoding and encoding is the hardest aspect of it for me. Then comes handling indentation.