markdown-it-custom-header-link
markdown-it-custom-header-link
is a VuePress plugin which created custom header links.
Usage
Local Installation
npm install markdown-it-custom-header-link# OR yarn add markdown-it-custom-header-link
config.js
Add to vuepress moduleexports = markdown: plugins:
Using
Add a header to the markdown file page.md
## my header <!-- link -->
This header is available at the url: localhost:8080/page/#link
Incompatibility
Vuepress [[toc]]
will give incorrect links. Problem in vuepress plugin markdown-it-table-of-contents