mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
1.5 KiB
1.5 KiB
+++ title = "revealjs" slug = "revealjs" description = "present content as a reveal.js slide" +++
This shortcode will format the enclosed markdow to render it with reveal.js at runtime (client-side)
Read more on revealjs github repo.
Usage
revealjs
can use the following named parameters :
- theme
- transition
- controls
- progress
- history
- center
{{%warning title="Important" %}}Even if the enclosed content is a mardown, use <
shortcode notation instead of the %
notation {{%/warning %}}
Content formating and slide delimiters
[read more on this here]({{% relref "page-slide.md"%}})
Demo
{{}}
In the morning
Getting up
- Turn off alarm
- Get out of bed
Breakfast
- Eat eggs
- Drink coffee
In the evening
Dinner
- Eat spaghetti
- Drink wine
Going to sleep
- Get in bed
- Count sheep
{{}}
Source :
{{%expand "Show code ..."%}}
{{</*revealjs theme="moon" progress="true"*/>}}
# In the morning
___
## Getting up
- Turn off alarm
- Get out of bed
___
## Breakfast
- Eat eggs
- Drink coffee
---
# In the evening
___
## Dinner
- Eat spaghetti
- Drink wine
___
## Going to sleep
- Get in bed
- Count sheep
{{</*revealjs*/>}}
{{%/expand%}}