vuepress-plume-markdown
Supports documentation writing with specialized markdown syntax for containers, code blocks, and media.
Install
mkdir -p .claude/skills/vuepress-plume-markdown && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3919" && unzip -o skill.zip -d .claude/skills/vuepress-plume-markdown && rm skill.zipInstalls to .claude/skills/vuepress-plume-markdown
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Help users write markdown files with VuePress Plume theme extensions, including containers, charts, embeds, code features, and all markdown enhancements. Invoke when user writes markdown content or asks about Plume's markdown syntax.Key capabilities
- →Configures container-based syntax (tip, warning, info)
- →Handles custom code block tabs and focus highlighting
- →Generates file tree visualization blocks
- →Toggles experimental features via config.ts mapping
- →Parses markdown extensions for advanced layouts
How it works
Maps user intent to specific VuePress Plume syntax tokens defined in the theme guide to structure documentation elements.
Inputs & outputs
When to use vuepress-plume-markdown
- →Add code block features like focus and diffs
- →Insert diagrams or charts into docs
- →Use advanced markdown containers
- →Format technical documentation with tabs
About this skill
VuePress Plume Markdown Skill
This skill provides assistance with VuePress Plume markdown extensions, charts, embeds, and code features. It helps users write rich content using the features provided by the theme.
When to Invoke
- Writing content in Markdown files
- Using advanced features like containers, code groups, or diagrams
- Embedding media or external content
- Configuring code block features (highlight, focus, diff, etc.)
- Using markdown enhancement syntax
Documentation Sources
Enabling Features
Most markdown extensions need to be enabled in .vuepress/config.ts:
export default defineUserConfig({
theme: plumeTheme({
markdown: {
// Containers
hint: true, // Info, tip, warning, caution containers (default: true)
alert: true, // GitHub-style alerts (default: true)
// Code
codeTabs: true, // Code block tabs (default: true)
tabs: true, // General tabs (default: true)
// Content
annotation: false, // Inline annotations
abbr: false, // Abbreviations
mark: 'eager', // Mark/highlight text (default: 'eager')
// Layout
fileTree: true, // File tree container (default: true)
flex: false, // Flex layout
collapse: false, // Collapsible sections
chat: false, // Chat dialog
timeline: false, // Timeline
field: false, // Field container
table: false, // Enhanced table container
demo: false, // Demo container
// Embeds
pdf: false, // PDF embed
bilibili: false, // Bilibili video
youtube: false, // YouTube video
artPlayer: false, // ArtPlayer video
audioReader: false, // Audio
// Code demos
codepen: false, // CodePen
codeSandbox: false, // CodeSandbox
jsfiddle: false, // JSFiddle
repl: false, // REPL
// Charts
chartjs: false, // Chart.js
echarts: false, // ECharts
mermaid: false, // Mermaid
markmap: false, // Markmap
plantuml: false, // PlantUML
flowchart: false, // Flowchart
// Other
npmTo: false, // npm/yarn/pnpm switcher
caniuse: false, // Can I Use embed
icon: { provider: 'iconify' }, // Icons (default: iconify)
plot: true, // Hidden text (spoiler) (default: true)
imageSize: false, // Auto image dimensions
include: true, // Include markdown files (default: true)
math: { type: 'katex' }, // Math formulas (default: katex)
},
}),
})
Markdown Extensions
Containers
- Abbreviation - Define abbreviations with tooltips
- Annotation - Add inline annotations
- Attributes - Add custom attributes to elements
- Card - Create card-style layouts
- Chat - Simulate chat conversations
- Code Tree - Display file trees alongside code blocks
- Collapse - Create collapsible details/summary blocks
- Container - Custom containers (info, tip, warning, etc.)
- Demo Wrapper - Demo container for examples
- Field - Field/attribute display container
- File Tree - Display file directory structures
- Flex - Create flexible column layouts
- GitHub Alerts - Use GitHub-style alerts
- Icons - Embed icons from Iconify
- Include - Include content from other files
- Mark - Highlight text with ==mark== syntax
- Math - Render mathematical formulas using KaTeX
- NPM To - Switch between npm, yarn, pnpm, etc.
- QR Code - Generate QR codes
- Steps - Create step-by-step guides
- Table - Enhanced table containers
- Tabs - Create tabbed content
- Timeline - Create timelines
Charts
- Chart.js - Embed Chart.js charts
- ECharts - Embed ECharts visualizations
- Flowchart - Create flowcharts
- Markmap - Create mind maps
- Mermaid - Create diagrams using Mermaid
- PlantUML - Create UML diagrams
Embeds
- AcFun Video - Embed AcFun videos
- ArtPlayer - Embed custom videos with ArtPlayer
- Audio Reader - Embed audio clips/pronunciation guides
- Bilibili Video - Embed Bilibili videos
- CodePen - Embed CodePen demos
- CodeSandbox - Embed CodeSandbox projects
- JSFiddle - Embed JSFiddle demos
- PDF Reader - Embed PDF files
- Replit - Embed Replit projects
- YouTube Video - Embed YouTube videos
Code Features
See resources/code-features.md for detailed code block features:
- Code Title -
title="filename.ext"after language - Line Numbers -
:line-numbers,:no-line-numbers,:line-numbers=2 - Line Highlighting -
{1,3,5-7}or// [!code highlight] - Line Focus -
// [!code focus]or// [!code focus:3] - Diff Highlighting -
// [!code ++]and// [!code --] - Warning/Error -
// [!code warning]and// [!code error] - Word Highlight -
// [!code word:keyword]or// [!code word:keyword:2] - Whitespace -
:whitespaceto show tabs/spaces - Collapsed Lines -
:collapsed-linesor:collapsed-lines=10
Standard Markdown Extensions
VuePress Plume supports these standard markdown extensions:
- Tables - GitHub-flavored tables
- Task Lists -
- [ ]and- [x] - Footnotes -
[^1]and[^1]: note - Superscript -
19^th^ - Subscript -
H~2~O - Custom Anchors -
## Title {#custom-anchor} - Alignment -
::: left/center/right - Table of Contents -
[[TOC]]
Code Block Features
Basic Syntax
```language
code content
```
With Features
```ts title="example.ts":line-numbers {2,4-6}
// [!code highlight]
const example = 'highlighted'
// [!code ++]
const added = 'new code'
// [!code --]
const removed = 'old code'
// [!code warning]
const warning = 'be careful'
// [!code error]
const error = 'something wrong'
// [!code focus]
const focused = 'focused line'
// [!code word:example]
console.log(example)
```
Language-Specific Comments
Different languages use different comment syntax:
| Language | Highlight | Focus | Diff Add | Diff Remove |
|---|---|---|---|---|
| JS/TS/JSX/TSX | // [!code highlight] | // [!code focus] | // [!code ++] | // [!code --] |
| Python/Ruby/YAML | # [!code highlight] | # [!code focus] | # [!code ++] | # [!code --] |
| CSS/SCSS | /* [!code highlight] */ | /* [!code focus] */ | /* [!code ++] */ | /* [!code --] */ |
| HTML/XML | <!-- [!code highlight] --> | <!-- [!code focus] --> | <!-- [!code ++] --> | <!-- [!code --] --> |
| Bash/Shell | # [!code highlight] | # [!code focus] | # [!code ++] | # [!code --] |
| SQL | -- [!code highlight] | -- [!code focus] | -- [!code ++] | -- [!code --] |
Global Configuration
Enable features globally in .vuepress/config.ts:
export default defineUserConfig({
theme: plumeTheme({
codeHighlighter: {
lineNumbers: true, // Enable line numbers globally
whitespace: false, // Show whitespace globally
collapsedLines: false, // Collapse lines globally
theme: { light: 'github-light', dark: 'github-dark' },
twoslash: false, // TypeScript twoslash
},
}),
})
When enabled globally, use :no-line-numbers, :no-whitespace, :no-collapsed-lines to disable per block.
Frontmatter
Common frontmatter for markdown files:
---
title: Article Title
createTime: 2024/01/01 12:00:00
permalink: /article/unique-id/
tags:
- tag1
- tag2
description: Article description for SEO
---
Post-specific Frontmatter
---
sticky: true # or number for ordering
article: true # false to hide from list
draft: true # dev only
cover: /image.jpg # Cover image
coverStyle:
layout: right # left, right, odd-left, odd-right, top
ratio: '16:9'
width: 240
compact: false
---
Home Page Frontmatter
---
pageLayout: home
config:
- type: hero
full: true
effect: hyper-speed
forceDark: true
hero:
name: Site Name
tagline: Tagline
text: Description
actions:
- text: Get Started
link: /guide/
theme: brand
- type: features
features:
- title: Feature 1
icon: icon-name
details: Description
- type: image-text
title: Section Title
image: /images/feature.svg
list:
- title: Item 1
description: Description
- type: text-image
title: Section Title
image: /images/feature.svg
list:
- title: Item 1
description: Description
- type: custom
---
LLMs txt Markup
When llmstxt is enabled, you can use special markup:
<llm-only> - Content visible only to LLMs
<llm-only>
## Section for LLMs
This content only appears in LLM-generated files.
</llm-only>
<llm-exclude> - Content hidden from LLMs
<llm-exclude>
## Section for humans
This content will not appear in LLM files.
</llm-exclude>
Content truncated.
When not to use it
- →Standard markdown writing without theme-specific requirements
- →Generating output for non-VuePress environments
Prerequisites
Limitations
- →Syntax is vendor-locked to VuePress Plume
- →Requires explicit feature enabling in configuration files
- →Does not validate theme compatibility with older VuePress versions
How it compares
It specifically implements theme-native markup rather than standard generic markdown.
Compared to similar skills
vuepress-plume-markdown side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| vuepress-plume-markdown (this skill) | 2 | 2mo | Review | Beginner |
| write-docs | 6 | 3mo | No flags | Beginner |
| docs-changelog | 4 | 4mo | No flags | Beginner |
| docs-writer | 4 | 3mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by pengzhanbo
View all by pengzhanbo →You might also like
write-docs
tldraw
Writing SDK documentation for tldraw. Use when creating new documentation articles, updating existing docs, or when documentation writing guidance is needed. Applies to docs in apps/docs/content/.
docs-changelog
google-gemini
Provides a step-by-step procedure for generating Gemini CLI changelog files based on github release information.
docs-writer
google-gemini
Always use this skill when the task involves writing, reviewing, or editing files in the `/docs` directory or any `.md` files in the repository.
technical-docs
getsentry
Write and review technical documentation for Sentry SDK docs. Use when creating, editing, or reviewing documentation pages, especially MDX files in docs/platforms/.
repo-website-guide-create
open-circle
Create conceptual documentation and tutorial pages for the Valibot website at website/src/routes/guides/. Use when adding guides about schemas, pipelines, async validation, migration, or other topics. Covers directory structure, MDX templates, frontmatter, and content guidelines.
docs
revokslab
ALWAYS use this when writing docs