markdown-it-custom-header-link
v1.0.5
Published
A markdown-it plugin for VuePress which created custom header links.
Downloads
55
Maintainers
Readme
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
Add to vuepress config.js
module.exports = {
markdown: {
plugins: [
[require('markdown-it-custom-header-link')]
]
}
}
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