npm install linked-itemsshell
$ npm i linked-items
`$3
Add component to your VitePress / VuePress configurations
`ts
// At your .vitepress/theme/index.ts:
import LinkedItems from 'linked-items';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!