Skip to content

Commit 171cc18

Browse files
committed
extend fragment description
1 parent 694b091 commit 171cc18

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

docs-obsidian.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,17 @@ Those work on normal image-links, like the standard DM ones and the shortcut-lin
7373
![[my-img.png|120]]
7474
```
7575
## Fragments in Reveal.js
76-
You can use fragments.
77-
Fragment lines have `#fragment` in the line above them.
76+
You may use fragments when starting a presentation.
77+
Fragments are parts of you page that pop up one after another, step by step, when you're pressing the forward-button you normally press to advance to the next vertical page.
78+
### Single Fragment Lines
79+
You may mark single lines as Fragments. Those lines are denoted by having a `#fragment` in the line above them.
80+
A single line is defined as from the start of a line to the next `newline`, so that may as well span more than a single line when line-breaks are inserted by the browser in order to fit that single line on the screen.
81+
### Fragment Blocks
7882
For blocks you may also have a `#fragment-start` followed by a `#fragment-end`.
79-
It is important to note that those flags must be on their own line.
83+
Everything between those tags will be treated as a fragment.
84+
That allows you to fade-in more than one line at a time.
85+
86+
It is important to note that all those flags must be on their own line.
8087

8188
This then will become a fragment in the presentation-view.
82-
It will be invisible in the normal view.
89+
All of this will be completely invisible in the normal view.

0 commit comments

Comments
 (0)