I need an app suitable to making notes while working on my programming research projects. I want it to have folding (aka collapse and expand) capabilities, because my notes are large (I keep track of everything, including long outputs of commands). Also my notes contain many graphical illustrations(that I currently draw in inkscape). MS Word seem to have everything I need, but it's a pain to get it running on linux. I tried code editors, they have folding, but keeping notes without images and different font styles isn't comfortable (I want at least have different styles for code snippets and plain text). I've also tried outlining apps such as dynalist and CheckVist, but they don't provide a good backup solution, and I don't want my notes to be vendor locked-in. Any ideas?
- no vendor lock-in
- works on linux
- has support of different font styles
- can fold text (aka collapse and expand)
- supports illustrations (preferably in vector format)
I see that markdown format covers all my needs. Maybe you know markdown wysiwyg editor with folding support?