VuePress Copy Page PluginVuePress Copy Page Plugin
Home
Posts
Docs
About
  • English
  • 简体中文
Home
Posts
Docs
About
  • English
  • 简体中文

vuepress-plugin-copy-page

Copy page content as Markdown for LLMs

Getting StartedIntroduction

Easy Copy

Click the button to copy the entire page content as Markdown

LLM Friendly

Perfect for copying content to ChatGPT, Claude, or other AI assistants

Smart Visibility

Configure which pages show the copy button using include/exclude patterns

About This Playground

This is an interactive demo site for the vuepress-plugin-copy-page plugin. Test the plugin with different configurations in real-time!

Navigation

  • Posts - Blog-style articles with the copy button enabled
  • Docs - Documentation pages with the copy button enabled
  • About - Example page with the copy button disabled (excluded)

Default Configuration

import { copyPagePlugin } from 'vuepress-plugin-copy-page'

export default {
  plugins: [
    copyPagePlugin({
      includes: ['/posts/', '/docs/'],
      excludes: ['/about/'],
    }),
  ],
}

Testing Scenarios

Try these testing scenarios:

  1. Enable on all pages: Leave includes empty, excludes empty
  2. Exclude specific pages: Include all, exclude /about/
  3. Blog only: Include /posts/, exclude everything else
  4. Complex rules: Include /docs/ and /posts/, exclude /docs/drafts/

Look for the "Copy Page" button in the top-right corner of enabled pages!

MIT Licensed | Copyright © 2024