Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using items can bug the heading sections #182

Open
RodrigoBertotti opened this issue Aug 8, 2020 · 0 comments
Open

Using items can bug the heading sections #182

RodrigoBertotti opened this issue Aug 8, 2020 · 0 comments

Comments

@RodrigoBertotti
Copy link

RodrigoBertotti commented Aug 8, 2020

Hi :)
I will show an example of the problem:

 ### `TEXT 1` 

 - item 1
 
 ### `TEXT 2 ...`
 
 TEXT 2.1 ...

Problem in the result:

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [`TEXT 1`](#text-1)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

the problem doesn't occur when I remove the - character before item 1:

 ### `TEXT 1` 

 item 1
 
 ### `TEXT 2 ...`
 
 TEXT 2.1 ...

Correct result:

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->


- [`TEXT 1`](#text-1)
- [`TEXT 2 ...`](#text-2-)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

using others characters * / + shows the same error

all the best
- Rodrigo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant