Git Microblog Posting Snippet


(Jay Miller) #1

Because my blog is hosted on GitHub. The way that I create new content via desktop is with this TE snippet.

microblog posts
nvim content/microblog/%snippet:peldate%.md%key:return%idate: %snippet:ldate%

in Iterm it creates a document that uses a dateformat yyyymmddhhmm (eg. 201903120902) to create a unique name. Then it opens the file. And applies the date meta tag, and positions the cursor so I can write my content.