跳到正文
TakoAPI
返回技能列表

marp-cli

由 killgfat 提供

Web & Frontend Development
1.3k下载量由 clawskills.sh 提供
1星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Convert Markdown to presentations via CLI.

描述

该技能的功能

Marp CLI converts Markdown files into presentation formats including HTML, PDF, PowerPoint (PPTX), and images from the command line. PDF, PPTX, and image exports require a browser installed on the system.

Writing slides in Markdown lets you version-control presentations and automate builds without a GUI tool.

何时使用

  • Converting a Markdown draft into a shareable PDF deck
  • Generating a title slide PNG for use as an open graph image
  • Batch converting a folder of slide decks to PPTX before a meeting
  • Serving a slides directory locally for browser-based preview during editing
  • Exporting presenter notes to a text file for separate review

示例工作流

输入

User asks: convert my slide deck to PDF with bookmarks

智能体
  1. 1

    Verify the .md file exists in the working directory

  2. 2

    Run marp --pdf --pdf-outlines slide-deck.md

  3. 3

    Check the output PDF is created in the same directory

  4. 4

    Confirm no browser errors occurred during conversion

输出

slide-deck.pdf with navigable PDF outlines generated in the current directory

前置要求

  • Chrome, Edge, or Firefox installed (for PDF, PPTX, and image exports)
  • LibreOffice Impress (optional, for editable PPTX via --pptx-editable)

安装

clawhub install killgfat/marp-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接