0.1.3 • Published 10 months ago

markppt v0.1.3

Weekly downloads
45
License
MIT
Repository
github
Last release
10 months ago

markppt

     

    

  

一篇markdown,一份ppt。

  • 一个读取markdown文件,生成网页slides/ppt的工具
  • 很多时候,我们用markdown来书写我们的人生
  • 很多时候,我们需要有一份ppt来向世界分享观点
  • 网页实现,处处发布,随机背景色,css3动画切换
  • 超响应式布局,自动缩放,不再畏惧屏幕尺寸
  • 智能无缝分页匹配,无需更改markdown原文

点击查看演示

$ npm i -g markppt   # 从npm安装
$ markppt mytalk/talk.md   # markdown路径
$ markppt mytalk/talk.md --theme=light   # 指定css主题
$ markppt mytalk/talk.md --theme=bright   # 默认取dark
$ markppt mytalk/talk.md --color=green   # 指定主色调

将会在原目录

- mytalk/
  - Desert.jpg
  - talk.md

生成ppt_文件夹,和一份talk.html,打开即可浏览ppt

- mytalk/
  - ppt_/ (√)
  - Desert.jpg
  - talk.md
  - talk.html (√)

常见问题解答

高级功能:支持url参数指定任意md路径(自带内容审查机制,不合规则跳转Oops..)

$ markppt index.md --arbitrary   # index.md为默认页面 文件不存在也ok
# 然后可指定任意md路径,如 http://xxx/?url=xxx/talk.md
# 或其他绝对路径,如 http://xxx/?url=https://raw.githubusercontent.com/fritx/markppt/dev/examples/mytalk/talk.md
# 或 http://xxx/?url=https://fastly.jsdelivr.net/gh/fritx/markppt@dev/examples/mytalk/talk.md
0.1.3

10 months ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.0.18

3 years ago

0.0.17-1

10 years ago

0.0.17

10 years ago

0.0.13

10 years ago

0.0.11

10 years ago

0.0.9

10 years ago

0.0.7

10 years ago

0.0.5

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago