Obsidian helps us manage our notes and other kinds of writings. With everything stored in a local directory, we can easily backup our knowledge base with tools like Dropbox. But still we need a way to share our writings, this tutorial shows a simple way to share notes with Github gist that only requires two steps to set up.
- Make sure you have a Github account.
- Install a command line tool for gist: gist. On macOS you can use
brew install gist
if you havebrew
installed. - Login with
gist --login
. It would ask you for your Github username and password to obtain OAuth2 access token, but it won't save your password as you can see in the source code.
gist MyNote.md
Enjoy sharing :)