0

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...

Vicent
  • 241

2 Answers2

2

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.)

Ingo Karkat
  • 23,523
1

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

slancio
  • 674