Hacker News new | ask | show | jobs
by maremp 2172 days ago
Do you have the tool somewhere to share?

I was looking into writing a simple tool, preferably a bash script I can use cross-platform, which creates a new markdown file with named with today’s date and opens it with $EDITOR.

This way I can also hook it to other tools, such as alfred pr albert.

1 comments

Not as simple as a bash script, but Obsidian (https://obsidian.md/) has this as a plugin.

Basically a button in the interface. You click on it and it creates a markdown file with today's date (example: YYYY-MM-DD). If one already exists, it just uses that one. You can also have a template that will be used when a new note is generated.