前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ppt 神器 reveal

ppt 神器 reveal

作者头像
苏生不惑
发布2019-08-14 18:00:54
1K0
发布2019-08-14 18:00:54
举报
文章被收录于专栏:苏生不惑苏生不惑

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

安装

先安装好node

代码语言:javascript
复制
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[1] 使用 Jupyter python markdown 制作分享 ppt[2] nodeppt [3]

公众号:苏生不惑

References

[1] reveal-md: https://github.com/webpro/reveal-md#usage [2] 使用 Jupyter python markdown 制作分享 ppt: https://github.com/PegasusWang/notebooks [3] nodeppt : https://github.com/ksky521/nodeppt

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2019-05-14,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 苏生不惑 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 安装
  • 使用
  • 资源
  • 公众号:苏生不惑
    • References
    领券
    问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档