html5-drafter
An extremely simple text editor, which keeps your text as text! You can write text to a HTML5 document and see the result with an outline on a rendered webpage. Edit your text files on your browser everywhere. Makes later editing easier and linking possible.
Uses 3rd party library for TOC: http://gregfranko.com/jquery.tocify.js, and both JQuery and Bootstrap.