复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-claude-skills-90a31d7980c1 ,按照其中的说明把「cs-md-slides」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Convert the markdown deck at $ARGUMENTS into a single-file interactive HTML presentation.
/cs:design-system.--strict-notes with < 50% notes coverage → refuse.--out.# 1. Resolve output path (doctype=slides → deck- prefix)
python3 markdown-html/skills/markdown-html-orchestrator/scripts/output_path_resolver.py \
--input "<path>.md" --doctype slides
# 2. Split slides on --- HR or H1 (auto-detect)
python3 markdown-html/skills/md-slides/scripts/slide_splitter.py \
--input "<path>.md" --boundary auto --output /tmp/slides.json
# 3. Extract <!-- notes: ... --> blocks per slide
python3 markdown-html/skills/md-slides/scripts/presenter_notes_parser.py \
--slides /tmp/slides.json --output /tmp/deck.json
# 4. Render single-file HTML deck
python3 markdown-html/skills/md-slides/scripts/deck_html_renderer.py \
--slides /tmp/deck.json --title "<deck title>" \
--output <resolved-out>.html
<section class="slide"> with one visible at a time (CSS-controlled, no JS-required content)→ / Space / PgDn → next slide← / PgUp → previous slideHome / End → first / last slideP → toggle presenter modeEsc → exit presenter mode#3 jumps to slide 3; back/forward walks slides; share deck.html#5 to land on slide 5@media print makes each slide one page (Cmd+P / Ctrl+P)prefers-reduced-motion honored.html file. No multi-file output.fonts.googleapis.com always; cdn.jsdelivr.net (Prism) only when --syntax is passed.deck-{slug}-2.html etc.--boundary {auto,hr,h1} — slide boundary mode (default: auto)--title "My Talk" — sets the <title> and tab name--syntax — enable Prism.js CDN for code blocks (off by default; decks rarely need it)--strict-notes — refuse if < 50% of slides have presenter notes (use when presenter mode is essential)Returns: slide count, notes coverage %, output path, design style applied, top features used, one forcing question.
See markdown-html/skills/md-slides/references/:
presentation_ux.md — Atkinson + Reynolds + Tufte + NN/g + Weinschenk + Marp/reveal.js/Big convergencekeyboard_nav_patterns.md — reveal.js / Big / Spectacle keymap + WCAG 2.1.1 + 2.4.3 + MDN KeyboardEventsingle_file_deck_conventions.md — Big + Marp + Pandoc + WCAG 2.3.3 + @media print