Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Sublime Text to Day One Build System (requires Day One CLI)
"cmd": ["dayone new < $file"],
"path": "/usr/local/bin/",
"shell": "true"

Hey, I forked this and made a small edit. In its current form, Sublime Text throws an error if the directory in which the .md file you're editing contains a space. Adding single quotes around $file fixes this.

And it's very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.