Skip to content

abernov/markdown-it-custom-header-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A markdown-it plugin for VuePress which created custom header links.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published