Show bubbles of relevant links on docs pages
npm install linked-docshttps://linked-docs.netlify.app/
shell
$ npm i --save-dev linked-docs
`$3
Add component to your VitePress / VuePress configurations
`ts
// At your .vitepress/theme/index.ts:
import {LinkedItems} from 'linked-docs';
import 'linked-docs/dist/style.css'export default {
// ... other config
enhanceApp({app}) {
// some other code
app.component('LinkedItems', LinkedItems);
}
}
`use it at the top of your markdown files, e.g.:
`markdown
---
title: Linked DOCS
editLink: true
---
Lorem ipsum dolor sit emet
``
Enjoy!