summaryrefslogtreecommitdiff
path: root/docs/slide-options.md
diff options
context:
space:
mode:
authoroupala2020-07-01 11:52:17 +0200
committeroupala2020-07-10 18:57:59 +0200
commit2f462f90d4608763e5cb9618ec80d939a679fe2e (patch)
tree0f13c88084116c53edfd0752576b7f596b5d8030 /docs/slide-options.md
parent73219909602e026616af6a97f588bc9e0eab1fa8 (diff)
style: linting markdown files
Linting markdown files according to default remark-lint configuration. Files inside the `public` directory were not linted. Signed-off-by: oupala <oupala@users.noreply.github.com>
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" -->