I'm some amount less confused now. I realized I can still use Golang to createRecords and deleteRecords, etc. This works with standard site.

Also realized I don't really need markdown, as I'm fine with the block-based approach Leaflet uses as long as I can still do special formatting.

Moving my entire BSSG-based blog to Leaflet is gonna be hella tedious no matter what I do. It might just be easier to use the web UI instead of Go. Or to not move anything at all and just keep my BSSG blog as an archive and only make new posts on Leaflet. I'll probably end up just doing the latter because I don't have the energy to do the former.

For new posts, writing in the web UI and then scraping the content from my PDS to convert it to gemtext would be an easier problem to solve with Go.

For gemtext, I wouldn't need to worry about the complexity of determining special inline formatting (e.g., an italicized word in a paragraph) or links, because aside from three heading levels, blockquotes, and code blocks, gemtext doesn't support anything but plaintext. Otherwise, using Go as a fine-toothed comb to unmarshall the JSON records for each bit of inline formatting would be a cursed task.