Ask HN: What is a good Mac app for keeping notes, that supports code snippets?

4 points by iDemonix ↗ HN
I use OneNote for most of my projects/notes, but having code in it is a nightmare, and I prefer to write in Markdown, or at least a much less 'rich'/minomal editor.

There's a few buyable options, but no trustable reviews or trials.

Any recommendations?

4 comments

[ 3.4 ms ] story [ 21.5 ms ] thread
I use notion.so

They support code snippets via code blocks.

I use it for notes but also for much more.

For example, my website (https://blog.kowalczyk.info/) is almost fully generated out of content stored in Notion via a custom program (https://github.com/kjk/blog) that uses my (unofficial, reverse-engineered) API library for Go (https://github.com/kjk/notionapi).

Notion is very rich so it might be overwhelming at first but it's the last note-taking application I'll ever use.

I've spent quite a lot time on this. And the Oscar goes to the Typora(https://typora.io/).

Pros:

- You can just add any snippet with language specific highlighting. I added a folder with the name quickscript. It has documented snippets, you can even add some equation in Latex then add the implementation as code snippet.

- Available for Mac, Linux, Windows.

- I store all my data in Google Drive.

- All data is stored in Markdown format. This is very important. You can easily export your notes or edit from raw version even if app would stop working one day.

- Realtime preview of markdown.

- Some sort of Latex support. Well if you are researcher this is very very cool.

- Crazy themes. Mine seems like exactly Bear note app.

Cons:

- No mobile client. But you can use a markdown editor with Google Drive support.

- It might have some non-critical bugs now and then.

I’ve been using Boostnote[1] for several months and I really enjoy it, and it sounds exactly what you’re looking for. It has just two kinds of notes, markdown and snippets, supports syncing with Dropbox/google drive/etc. Though my absolute favorite feature, and the reason I haven’t looked for anything else since downloading it is it supports VI key bindings.

[1] https://boostnote.io/