Skip to content

Instantly share code, notes, and snippets.

@olirip
olirip / ia-to-publish-script.scpt
Created June 29, 2021 15:12
A simple script adding the necessary header to markdown files for the Publish Static Site Generator by John Sundell
-- A simple script adding the necessary header to markdown files for the Publish Static Site Generator by John Sundell
-- IA Writer as to be open, should work with other markdown software
set formattedDate to (do shell script "date +'%Y-%m-%d %H:%M'")
set s to "---" & return & "date: " & formattedDate & return & "description: " & return & "tags: " & return & "---" & return & return & "# "
tell application "iA Writer"

Keybase proof

I hereby claim:

  • I am olirip on github.
  • I am olirip (https://keybase.io/olirip) on keybase.
  • I have a public key ASCVh3OPYcrpX6JmAQZujNTlpttorr1_kGXEhkjKObthhwo

To claim this, I am signing this object: