mirror of
https://github.com/purocean/yn.git
synced 2026-09-21 05:52:43 +08:00
Agent-Logs-Url: https://github.com/purocean/yn/sessions/423ca3b8-9674-4d0f-98d1-bc1fd5c33c5d Co-authored-by: purocean <7115690+purocean@users.noreply.github.com>
1.5 KiB
1.5 KiB
defaultPreviewer, revealJsOpts
| defaultPreviewer | revealJsOpts | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Reveal.js |
|
Reveal.js Presentation Test
This document tests Reveal.js presentation rendering in Yank Note.
Note
: Requires the
@yank-note/extension-reveal-jsextension.
::: section
Slide 1: Introduction
Welcome to the Yank Note Presentation!
- Feature-rich markdown editor
- Extensible with plugins
- Cross-platform support
:::
::: section
Slide 2: Markdown Support
Yank Note supports rich markdown features:
| Feature | Status |
|---|---|
| Headings | ✅ |
| Tables | ✅ |
| Code | ✅ |
| Math | ✅ |
| Diagrams | ✅ |
:::
::: section
Slide 3: Code Highlighting
function fibonacci(n) {
if (n <= 1) return n;
return fibonacci(n - 1) + fibonacci(n - 2);
}
:::
::: section
Slide 4: Math Formulas
The Euler's identity:
e^{i\pi} + 1 = 0
The quadratic formula:
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
:::
::: section
Slide 5: Thank You!
🎉 Thanks for watching!
- GitHub: purocean/yn
- Extensions: yank-note-extension
:::
Configuration Notes
To create a Reveal.js presentation:
- Set
defaultPreviewer: 'Reveal.js'in front matter - Configure options via
revealJsOpts - Use
::: sectioncontainers to separate slides - Available themes:
moon,black,white,league,beige,sky,night,serif,simple,solarized