乐趣区

ppt-神器-reveal

ppt 相信大家都用过,不过程序员使用的 PPT 是可以在网页上用的,比如 reveal

安装

先安装好 node

npm install -g reveal-md
λ reveal-md -h
Puppeteer unavailable, unable to create featured slide image for OpenGraph metadata.
Puppeteer unavailable, unable to generate PDF file.
Usage: cli <slides.md> [options]

See https://github.com/webpro/reveal-md for more details.

Options:
  -V, --version                               output the version number
      --title <title>                         Title of the presentation
  -s, --separator <separator>                 Slide separator [default: 3 dashes (---) surrounded by two blank lines]
  -S, --vertical-separator <separator>        Vertical slide separator [default: 4 dashes (----) surrounded by two blank lines]
  -t, --theme <theme>                         Theme [default: black]
      --highlight-theme <theme>               Highlight theme [default: zenburn]
      --css <files>                           CSS files to inject into the page
      --scripts <files>                       Scripts to inject into the page
      --assets-dir <dirname>                  Defines assets directory name [default: _assets]
      --preprocessor <script>                 Markdown preprocessor script
      --template <filename>                   Template file for reveal.js
      --listing-template <filename>           Template file for listing
      --print [filename]                      Print to PDF file
      --static [dir]                          Export static html to directory [_static]. Incompatible with --print.

使用

vi test.md
reveal-md test.md
reveal-md slides.md –port 8888
浏览器打开 localhost:8888 即可在网页上演示 PPT 了。

资源

reveal-md
使用 Jupyter python markdown 制作分享 ppt
nodeppt

公众号:苏生不惑

退出移动版