Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

markdown-ppt

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-ppt

网页 ppt 组件.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

<markdown-ppt />

网页 ppt 组件.

  • 自适应屏幕 & 键盘快捷键
  • 移动端 & 触摸屏快捷操作
  • 深色模式
  • 打印幻灯片
  • 在线编辑 & 实时预览

使用

  1. Import script from https://unpkg.com/markdown-ppt
<script type="module" src="https://unpkg.com/markdown-ppt"></script>
  1. 将markdown内容添加到 <script type="text/markdown" />:
<markdown-ppt hotkey hashsync>
    <script type="text/markdown">
    # Title
    ---
    ## Hello World!
    ---
    ## The END
    </script>
</markdown-ppt>

或者设置 markdown 属性 <markdown-ppt />:

<markdown-ppt markdown="## Hello World! " />

或者使用 src 属性 加载 md 文件:

<markdown-ppt src="deck.md" />

属性

  • markdown="{string}" markdown 内容
  • src="{string}" 远程加载外部 md 文件
  • css="{string}" 远程加载自定义 css 文件
  • index="{number}" 当前显示幻灯片页码
  • hashsync 翻页更新浏览器 hash
  • hotkey 快捷键
  • editing 编辑
  • printing 打印幻灯片
  • progressBar 进度条

快捷键

  • 下一页: Space
  • 上一页 / 下一页: / or J / L
  • 开始 / 结束: /
  • 主题切换: I or D
  • 打印: P
  • 编辑: ESC

Keywords

FAQs

Package last updated on 08 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc