1.8.0 • Published 6 months ago

@yank-note/extension-reveal-js v1.8.0

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
6 months ago

Reveal.js

This extension integrates Reveal.js into Yank Note.

Screenshots

image

Usage

---
defaultPreviewer: 'Reveal.js'
revealJsOpts:
    theme: moon # theme https://revealjs.com/themes/
    progress: true # options https://revealjs.com/config/
    center: true
    customStyle: |
        .reveal h2 {
            font-style: italic;
        }
---

::: section
## Slide 1 {style="color:red"}

```js
await new Promise(r => setTimeout(r, 500))
ctx.ui.useToast().show("info", "HELLOWORLD!")
console.log("hello world!")
```
:::

::: section
## Horizontal Slide

$$
\nabla \cdot \vec{\mathbf{B}}  = 0
$$
:::

::::: section
### Vertical Slide

::: section
### Vertical Slide 1

+ Subject{.mindmap}
    + Topic 1
    + Topic 2
    + Topic 3
    + Topic 4

:::
::: section
### Vertical Slide 2

```mermaid
graph LR
A[Hard] --> |Text| B(Round)
```

:::
::: section
### Vertical Slide 3

@startuml
a -> b
@enduml

:::
:::::

Click "Tool" -> "Present with Reveal.js " in the status bar.

点击状态栏的菜单:“工具” -> “使用 Reveal.js 演示”。

1.8.0

6 months ago

1.6.2

6 months ago

1.7.0

6 months ago

1.6.1

6 months ago

1.6.0

6 months ago

1.5.1

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago