On Sun, Aug 20, 2017 at 7:24 PM, Andy Goth <andrew.m.g...@gmail.com> wrote: > On 08/18/17 07:38, Dewey Hylton wrote: >> >> I predict this to be the best email I receive today. >> >> My first thought was "This is like paid support!" >> My second thought was "Wait ... paid support has *never* been this good >> ..." >> >> Thanks for your work! > > > Since you seem to be really interested, have one more improvement. Now > there's no need for an <!--END--> marker. The table of contents extends > from <!--TOC--> to the first blank line. Aside from looking cleaner > overall, this works around a Markdown rendering oddity which required me to > put a blank line between the last line of the TOC list and the <!--END--> > line.
I like the <!--TOC--> syntax. It doesn't break any existing Markdown syntax, as it stays invisible if not rendered with your script. For example, the online Markdown editor https://stackedit.io/editor also supports TOC, but it is more "intrusive" with its [TOC] tag, which becomes visible when rendered with other Markdown software. Another alternative TOC tag, harder to remember, but even less "intrusive" then a HTML comment tag, would be a "Markdown comment", which does not even render with other software: [//]:#(#TOC) Just my two cents. :-) /Johan > > > https://chiselapp.com/user/andy/repository/brush/file/doc/toc.tcl > > -- > Andy Goth | <andrew.m.goth/at/gmail/dot/com> > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users