转载

marp 一款基于 Electron 开发的 Markdown 编辑器,支持使用 Markdown 来编辑创建幻灯片并保

Marp

Markdown presentation writer, powered by Electron .

marp 一款基于 Electron 开发的 Markdown 编辑器,支持使用 Markdown 来编辑创建幻灯片并保

Usage

Install

:arrow_forward: Download latest archives from release page.

  • Windows : Unzip *.*.*-Marp-win32-[arch].zip and run Marp.exe .
  • Mac OS X : Mount *.*.*-Marp-darwin-x64.dmg , D&D Marp to Applications and run it from Applications folder / Launchpad. Or use Homebrew Cask : brew cask install marp
  • Linux : Unpack *.*.*-Marp-linux-[arch].tar.gz and run Marp .

How to write slides?

Split slides by horizontal ruler --- . It's very simple. Please refer to example.md .

# Slide 1  foobar  ---  # Slide 2  foobar

For developers

Getting started

npm install npm start

Create release builds

gulp release

Please set application version in package.json .

OS specific

Windows

If you want to build for Windows in other platforms, please install Wine to rewrite Electron's resources.

OSX

To build for Darwin is only supported in OSX. Please installappdmg to create archive ( .dmg ) for Darwin release.

npm install appdmg

Notices

  • Don't add development dependency of appdmg to package.json . The release task would fail in other platforms.
  • gulp-appdmg is no longer in use since v0.0.4.

Licenses

Copyright © 2016Yuki Hattori. This software released under theMIT License.

原文  https://github.com/yhatt/marp
正文到此结束
Loading...