snosov1 / toc-org

toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
GNU General Public License v3.0
287 stars 29 forks source link

mistakes lists bullets for headings in markdown #90

Open masukomi opened 1 year ago

masukomi commented 1 year ago

in markdown:

if i make a list with * for each item instead of - it thinks they're each a top level heading.

I.e.

# foo
hey 

* bar 
* baz

should generate a TOC that only contains a single line item for foo

currently you need to use - for your list items in order to get the desired result.

snosov1 commented 10 months ago

That should do it. Please check, if you have a chance