Drafts custom action to create new draft in current workspace with keyboard shortcut
I made a Drafts custom action that looks at the current workspace, grabs the tags, and applies them to a new draft that is opened in the editor. It also supplies a keyboard shortcut:
(option + control + command + N) ⌥⌃⌘N I hope someone else finds this as useful as I do.
Link to action
Code /// a …
Cut wheat, corn field, sky.
Driving down the highway in rural Missouri can lead to some pretty photos.
Add a dark (or light) theme to your website using prefers-color-scheme
This is one way to add a dark or light theme to your website. I use Micro.blog for my website, but this should be the same for basically any website hosting service or static website that one would use.
Caveat: while I work as a software engineer and have spent many years building web code, I …