summaryrefslogtreecommitdiff
path: root/docs/slide-options.md
diff options
context:
space:
mode:
authorDavid Mehren2020-07-10 19:59:32 +0200
committerGitHub2020-07-10 19:59:32 +0200
commit3db8b0df43b027d15d13047e25617266ddc57f13 (patch)
treeda64f90f7cd4ab4c1deaf67a572a45c2a583dc7e /docs/slide-options.md
parent0b7dbd1f43899b4321ddf41bf98a64a7bd5fa48d (diff)
parent89895cef2e5785134bf1fdcc9c8813831c07f17b (diff)
Merge pull request #410 from oupala/feature/markdown-linting
Diffstat (limited to '')
-rw-r--r--docs/slide-options.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/slide-options.md b/docs/slide-options.md
index d1277831..ec68f717 100644
--- a/docs/slide-options.md
+++ b/docs/slide-options.md
@@ -1,12 +1,12 @@
-Slide Separators
-===
+# Slide Separators
If you're getting started with reveal.js slides, there are a few things you need to know.
There are two types of slides, those that transition horizontally and those that transition vertically (subslides).
The following separators are used for each in the CodiMD syntax:
-```
+
+```markdown
# First Slide
---
@@ -23,7 +23,7 @@ as you can see, horizontal transitions are separated by `---` and vertical trans
It's possible to customise the slide options using the YAML header in the slide markdown.
eg:
-```
+```yaml
---
title: Example Slide
tags: presentation
@@ -38,7 +38,8 @@ make sure to have two spaces only at the start of the listed slide options.
you can comment out options with a `#`
### Some other options
-```
+
+```markdown
# Display controls in the bottom right corner
controls: true
@@ -151,7 +152,8 @@ display: 'block'
## Customising individual slides
custom background image:
-```
+
+```markdown
---
<!-- .slide: data-background="https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg" -->