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

The Table of Contents is created not properly when paragraph is a link #2896

Open
1 task done
wszymanski opened this issue Jul 15, 2021 · 0 comments
Open
1 task done

Comments

@wszymanski
Copy link

  • I confirm that this is an issue rather than a question.

Bug report

As the title says, paragraphs which are links aren't handled by [[toc]] properly.

Steps to reproduce

  1. Create paragraph using markdown, for example: [I'm an inline-style link](https://www.google.com)
  2. You will see that link in the Table of Contents isn't proper.

Screenshot 2021-07-15 at 13 36 14

Screenshot 2021-07-15 at 13 37 51

What is expected?

Link in the Table of Contents should be proper.

What is actually happening?

Link in the Table of Contents isn't be proper.

wszymanski added a commit to wszymanski/vuepress that referenced this issue Jul 15, 2021
It will be created properly when paragraph is a link - boosted `slugify` method.
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