用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill marp-10-cli-usage命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | marp-10-cli-usage |
| description | Sub-skill of marp: 10. CLI Usage (+5). |
| version | 1.0.0 |
| category | development |
| type | reference |
| scripts_exempt | true |
# Convert to HTML
marp slides.md -o slides.html
# Convert to PDF
marp slides.md -o slides.pdf
# Convert to PPTX
marp slides.md -o slides.pptx
*See sub-skills for full details.*
## 11. Configuration File
```yaml
# .marprc.yml
html: true
allowLocalFiles: true
output: "./dist"
theme: "./themes/corporate.css"
pdf: true
pdfNotes: true
watch: false
server: false
serverPort: 8080
// .vscode/settings.json
{
"markdown.marp.enableHtml": true,
"markdown.marp.themes": [
"./themes/custom.css"
],
"markdown.marp.mathTypesetting": "katex",
"markdown.marp.exportType": "pdf"
}
# .github/workflows/presentations.yml
name: Build Presentations
on:
push:
branches: [main]
paths: ['presentations/**']
jobs:
*See sub-skills for full details.*
## 14. Docker Usage
```bash
# Build with Docker
docker run --rm -v $(pwd):/app marpteam/marp-cli \
/app/slides.md -o /app/slides.pdf
# Run server
docker run --rm -p 8080:8080 -v $(pwd):/app marpteam/marp-cli \
-s /app/slides.md
---
marp: true
---
<style>
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; }
.centered { display: flex; flex-direction: column; justify-content: center; align-items: center; }
</style>
*See sub-skills for full details.*