I'm seeking a Markdown editor that is:

  • ready-to-run on *buntu,
  • and not an "online" editor;

and includes these two features:

  1. auto-generated table of contents (ToC) from headings; and
  2. the facility to drag-drop sections of the document to a new location internally.

The precise "feature set" I'm looking for here is available in MultiMarkdown Composer, v. 2 (scroll down to the "Table of Contents" heading):

ToC panel

But this fine editor is a Mac App. Here's what I have already seen/tried:

  • CuteMarkEd which at least satisfies the first feature requirement (auto-ToC), but it looks like people have had trouble compiling it for Ubuntu, and compiling anything is outside my comfort zone.
  • A related question (not a duplicate): "Markdown editor with structure view" on SoftwareRecs was satisfied by StackEdit's auto-ToC feature, but I don't want an app that runs in the browser.
  • I have also tried a Markdown ToC package for the Atom editor, but it struck me as cumbersome (and I had trouble invoking it anyway).

Of course it would be nice if there was a FOSS app that meets these criteria, but I would be interested to know of any editors that satisfy the spec.

  • Most editors can output HTML, maybe you could generate a TOC from that. Apr 27, 2015 at 6:59
  • 3
    @JonasCz - thanks, but that kind of defeats the point of the exercise, which is to integrate document structure into the editor (and thus editing process) itself.
    – Dɑvïd
    Apr 27, 2015 at 9:32

1 Answer 1



After all these years, I've found that Obsidian meets my criteria. It has a drag-and-drop re-structure feature that works from an auto-generated Outline view (in a toggleable sidebar).

Obviously Obsidian does a lot more. It is not FOSS, though it does have a "free forever" personal version. Files are locally stored in simple Markdown which for me is ideal.

Also, it is cross-platform (versions available for Windows, MacOS, Linux of various flavours, and mobile versions for iOS and Android). My main workhorse platform is Ubuntu (and there is a .deb avaiable), with on-the-go being an ancient (2015) MacBook, so this is a real boon.

The first release (according to Wikipedia) was March 2020, so I've not been very swift to find it, but happy to have found it now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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