markdown-it-custom-header-link

1.0.5 • Public • Published

markdown-it-custom-header-link

npm

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

Package Sidebar

Install

npm i markdown-it-custom-header-link

Weekly Downloads

11

Version

1.0.5

License

MIT

Unpacked Size

48.5 kB

Total Files

7

Last publish

Collaborators

  • abernov