I asked the same for Notepad++, but in fact I don't mind changing of software.

I am interested in managing txt files that contain Markdown. I would like to find an editor of txt files for Windows that is able to highlight Markdown syntax and, what is more important, to collapse on headings, etc.

I am flexible about the Markdown flavour, I mean, I don't mind if it is strict Markdown or Multimarkdown, etc.

The problem is I've never been really interested in txt editor. I actually use Notepad++, but don't know many tricks.

Now I am considering the possibility of using txt files for keeping some kind of information, and it would be great if I could find a way of collapse sections defined by using Markdown. My goal behind all this is being more productive, of course.

I am not sure if maybe Vim or other similar programs can be helpful...

closed as off topic by Ƭᴇcʜιᴇ007, TFM, bwDraco, James Mertz, HackToHell Mar 10 '13 at 13:11

Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.


Somebody correct me if I'm mistaken, but I believe that Sublime Text 2 does this (you may need to install a plugin for Markdown). Code Folding definitely works in all languages in Sublime though.

Sublime Code Folding


With this folding plugin, you can collapse Markdown headings; syntax highlighting works out of the box with Vim 7.3.

The great thing about Vim is its customizability; with a little bit of effort, you can influence the folding any way you want, or create a custom command to create a separate table of contents (in the quickfix window). On the other hand, be prepared for a steep initial learning curve, as it's a special and very powerful editor. (You can initially remedy this with easy Vim mode (evim or gvim -e), but I don't think many people will stay in that mode for long, as it's like training wheels.)

  • Thank you! It is an acceptable answer, but I am going to try with Sublime Text. – Vicent Mar 9 '13 at 18:47

Not the answer you're looking for? Browse other questions tagged or ask your own question.