https://github.com/discue/vuepress-plugin-outline
Adds an outline of the current page's headlines to the right side of the screen
https://github.com/discue/vuepress-plugin-outline
discue outline vuepress vuepress-plugin
Last synced: 4 months ago
JSON representation
Adds an outline of the current page's headlines to the right side of the screen
- Host: GitHub
- URL: https://github.com/discue/vuepress-plugin-outline
- Owner: discue
- License: isc
- Created: 2025-01-12T10:04:36.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T12:32:08.000Z (4 months ago)
- Last Synced: 2025-03-01T13:29:30.327Z (4 months ago)
- Topics: discue, outline, vuepress, vuepress-plugin
- Language: Vue
- Homepage: https://www.discue.io
- Size: 380 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/discue/vuepress-plugin-outline/releases/)
[](https://www.npmjs.com/package/@discue/vuepress-plugin-outline)
[](https://www.npmjs.com/package/@discue/vuepress-plugin-outline)
[](https://www.npmjs.com/package/@discue/vuepress-plugin-outline)
[](https://www.npmjs.com/package/@discue/vuepress-plugin-outline)
[](/CONTRIBUTING.md "Go to contributions doc")
[](https://nodejs.org "Go to Node.js homepage")
# vuepress-plugin-outline
A plugin for [VuePress](https://vuepress.vuejs.org/) that adds an outline to the right of the screen.

**Note:** This plugin is specifically designed for discue documentation sites (like [ui.discue.io](https://ui.discue.io)) and might not be suitable for your project unless you're using or basing your theme on the discue theme.
## 📦 Installation
Install the package via npm
```bash
npm install -D @discue/vuepress-plugin-outline
```## 🚀 Usage
Register the plugin in your `vuepress` config.```js
// ./configs/plugins.js
import outlinePlugin from '@discue/vuepress-plugin-outline';export default [
// .. other plugins
outlinePlugin(),
]
``````js
// ./config.js
import { viteBundler } from '@vuepress/bundler-vite';
import { defineUserConfig } from '@vuepress/cli';
import plugins from './configs/plugins.js';
import defaultTheme from './theme/index.js';export default defineUserConfig({
bundler: viteBundler(),
lang: 'en-US',
title: 'My Docs',
theme: defaultTheme({
// .. theme configuration
}),
plugins,
})
```## 📄 License
[ISC](https://opensource.org/license/isc-license-txt)