<!-- Please don't delete this template or we'll close your issue --> <!-- Before creating an issue please make sure you are using the latest version of VuePress. --> <!-- Please confirm you will submit an issue. --> <!-- Issues which contain questions or support requests will be closed. --> <!-- (Update "[ ]" to "[x]" to check a box) --> - [x] I confirm that this is an issue rather than a question. <!-- Please ask questions via following several ways. --> <!-- https://vue-land.js.org/ --> <!-- https://forum.vuejs.org/ --> <!-- https://stackoverflow.com/questions/ask?tags=vuepress --> ## Bug report As the title says, paragraphs which are links aren't handled by `[[toc]]` properly. #### Steps to reproduce 1. Create paragraph [using markdown](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#links), 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. <img width="378" alt="Screenshot 2021-07-15 at 13 36 14" src="https://user-images.githubusercontent.com/141330/125782148-ede39ced-e922-4e3e-9b49-bc7e03262c14.png"> <img width="1098" alt="Screenshot 2021-07-15 at 13 37 51" src="https://user-images.githubusercontent.com/141330/125782155-db817302-ecbf-4dfa-9e35-6c10b49553ee.png"> <!-- If you are reporting a bug that can ONLY be reproduced on your repository, PLEASE provide this repo link. That takes guessing work out of the way and saves us time. --> <!-- If your repo isn't public, you can use `codesandbox` or `yarn create vuepress` to create a minimal reproduction --> #### 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.