Markdown Presentation EcosystemMarkdown 演示生态系统
Find Marp tools on GitHub!
在 GitHub 上查找 Marp 工具!
Create beautiful slide decks using an intuitive Markdown experience使用直观的 Markdown 体验创建精美的幻灯片演示
Marp (also known as the Markdown Presentation Ecosystem) provides an intuitive experience for creating beautiful slide decks. You only have to focus on writing your story in a Markdown document.
Marp(也称为 Markdown 演示生态系统)为创建精美幻灯片演示提供了直观的体验。您只需专注于在 Markdown 文档中编写您的故事。
The slides above are from generated directly from Marp Core 上面的幻灯片是直接从 Marp Core 生成的
Based on CommonMark 基于 CommonMark
If you know how to write a document with Markdown, you already know how to write a Marp slide deck. Marp’s format is based on CommonMark, a consistent Markdown specification. The only important difference is a ruler --- for splitting pages.
如果你知道如何用 Markdown 编写文档,那么你已经知道如何编写 Marp 幻灯片。Marp 的格式基于 CommonMark,这是一个一致的 Markdown 规范。唯一重要的区别是用于分页的规则 --- 。
Directives and extended syntax指令和扩展语法
Sometimes simple text content isn’t enough to emphasize your voice, so Marp supports a variety of directives and extended syntax (image syntax, math typesetting, auto-scaling, etc…) to create beautiful slides.
有时候简单的文本内容不足以强调你的观点,因此 Marp 支持多种指令和扩展语法(图像语法、数学排版、自动缩放等)来创建美观的幻灯片。
Built-in themes and CSS theming内置主题和 CSS 主题定制
Our core engine has 3 built-in themes called default, gaia, and uncover, to tell your story beautifully. If you’d rather customize your design, you can use Marp to tweak styles with Markdown, or create your own Marp theme with plain CSS.
我们的核心引擎内置了 3 个主题,分别为 default 、 gaia 和 uncover ,帮助您美美地讲述故事。如果您想自定义设计,可以使用 Marp 通过 Markdown 调整样式,或使用纯 CSS 创建自己的 Marp 主题。
Export to HTML, PDF, and PowerPoint导出为 HTML、PDF 和 PowerPoint
Have you finished writing? It’s time to share your deck! Marp can convert Markdown into presentation-ready HTML, PDF and PowerPoint files directly! (Powered by Google Chrome / Chromium)
写作完成了吗?是时候分享您的演示文稿了!Marp 可以直接将 Markdown 转换为可用于演示的 HTML、PDF 和 PowerPoint 文件!(由 Google Chrome / Chromium 提供支持)
Marp family: The official toolsetMarp 系列:官方工具集
The Marp ecosystem contains a rich toolset to assist your work. Marp for VS Code is an extension that allows you to edit and preview slide Markdown and custom theming within VS Code. Marp CLI is a command line tool allows you to convert Markdown with a simple CLI interface. … and much more!
Marp 生态系统包含丰富的工具集来协助你的工作。Marp for VS Code 是一个扩展,允许你在 VS Code 中编辑和预览幻灯片 Markdown 以及自定义主题。Marp CLI 是一个命令行工具,允许你通过简单的命令行界面转换 Markdown。…等等!
Pluggable architecture 可插拔架构
As a matter of fact, Marp is essentially just a converter for Markdown. The Marp ecosystem is built on the Marpit framework, a skinny framework for creating HTML/CSS slide decks. It has a pluggable architecture and any developer can extend features via plugins.
事实上,Marp 本质上只是一个 Markdown 转换器。Marp 生态系统基于 Marpit 框架构建,这是一个用于创建 HTML/CSS 幻灯片演示的精简框架。它具有可插拔架构,任何开发者都可以通过插件扩展功能。
Fully open-source 完全开源
The Marp team loves open source! All tools and related libraries are built by the Marp team and are MIT-licensed.
Marp 团队热爱开源!所有工具和相关库均由 Marp 团队构建,并采用 MIT 许可证。
Tools and integrations 工具和集成
Marp for VS Code
Create slide decks written in Marp Markdown right in VS Code
在 VS Code 中直接创建 Marp Markdown 编写的幻灯片演示文稿

Marp for VS Code
Enhance VS Code’s Markdown preview pane to support writing your beautiful presentations. You can preview the slide deck output as soon as you edit its Markdown.
增强 VS Code 的 Markdown 预览窗格,支持编写您精美的演示文稿。您可以在编辑其 Markdown 时立即预览幻灯片演示文稿的输出。
Marp CLI
A CLI interface for Marp and Marpit based converters
Marp 和 Marpit 转换器的命令行界面

The Marp CLI is the swiss army knife of the Marp ecosystem. Convert your Markdown into various formats, watch changes, launch server for on-demand conversion, and customize the core engine.
Marp 命令行是 Marp 生态系统中的瑞士军刀。将你的 Markdown 转换为各种格式,实时预览更改,启动服务器进行按需转换,并自定义核心引擎。
Releases npm GitHub 发布 npm GitHub
For developers 对于开发者
Marp Core
The core of the Marp converter
Marp 转换器的核心
All official Marp tooling uses this core as the engine. It is based on the Marpit framework and includes some extra features to help create beautiful slide decks.
所有官方 Marp 工具都使用这个核心作为引擎。它基于 Marpit 框架,并包含一些额外功能来帮助创建精美的幻灯片演示文稿。
Marpit framework
Marpit 框架
The skinny framework for creating slide decks from Markdown
用于从 Markdown 创建幻灯片的最精简框架
Marpit (independent from Marp) is the framework that transforms Markdown and CSS themes to slide decks composed of HTML/CSS. It is optimized to output only the minimum set of assets required.
Marpit(独立于 Marp)是将 Markdown 和 CSS 主题转换为由 HTML/CSS 组成的幻灯片框架。它被优化以仅输出所需的最小资源集。
Documentation npm GitHub
文档 npm GitHub
Find all of the Marp tools, integrations, and examples in the GitHub repository!
在 GitHub 仓库中查找所有 Marp 工具、集成和示例!