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.<p>There's a few buyable options, but no trustable reviews or trials.<p>Any recommendations?
I use notion.so<p>They support code snippets via code blocks.<p>I use it for notes but also for much more.<p>For example, my website (<a href="https://blog.kowalczyk.info/" rel="nofollow">https://blog.kowalczyk.info/</a>) is almost fully generated out of content stored in Notion via a custom program (<a href="https://github.com/kjk/blog" rel="nofollow">https://github.com/kjk/blog</a>) that uses my (unofficial, reverse-engineered) API library for Go (<a href="https://github.com/kjk/notionapi" rel="nofollow">https://github.com/kjk/notionapi</a>).<p>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(<a href="https://typora.io/" rel="nofollow">https://typora.io/</a>).<p>Pros:<p>- 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.<p>- Available for Mac, Linux, Windows.<p>- I store all my data in Google Drive.<p>- 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.<p>- Realtime preview of markdown.<p>- Some sort of Latex support. Well if you are researcher this is very very cool.<p>- Crazy themes. Mine seems like exactly Bear note app.<p>Cons:<p>- No mobile client. But you can use a markdown editor with Google Drive support.<p>- 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.<p>[1] <a href="https://boostnote.io/" rel="nofollow">https://boostnote.io/</a>