188 days ago · Tech · hide · Fediverse post

After moving to Zed as my primary editor, I’ve slowly been working on replacing various tools and nice to haves from VS Code and trying to solve them in Zed. The biggest thing I was missing was a project specific snippet to generate a new post with front matter for me. I had this and could use this to build my front matter easily, but you can’t really do this with Zed. "Frontmatter": { "scope": "markdown", "prefix": "frontmatter", "body": [ "---", "author: $1", "createdAt: $CURRENT_YEAR-$CURRENT_MONTH-${CURRENT_DATE}T$CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND.000$CURRENT_TIMEZONE_OFFSET", "modifiedAt: $3", "title: $4", "featured: ${5|false,true|}", "draft: ${6|true,false|}", "tags:", " - $7", "description: $8", "---", ], "description": "Adds the frontmatter block for the AstroPaper Blog post",}, I had originally put together a set of bash scripts to do my releases, but wanted something with some nicer tooling. What’s It Do? mkd allows you to create syntax for your front matter…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town