readme adjustment
This commit is contained in:
parent
4b0fe47bb6
commit
6afec76bf0
34
README.md
34
README.md
@ -71,6 +71,19 @@ Special syntax is available for adding attributes to Markdown elements. This is
|
|||||||
</section>
|
</section>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Slide Attributes
|
||||||
|
|
||||||
|
Special syntax is available for adding attributes to the slide `<section>` elements generated by your Markdown.
|
||||||
|
|
||||||
|
```html
|
||||||
|
<section data-markdown>
|
||||||
|
<script type="text/template">
|
||||||
|
<!-- slide-attributes: data-background="#ff0000" -->
|
||||||
|
Mardown content
|
||||||
|
</script>
|
||||||
|
</section>
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
||||||
@ -352,16 +365,6 @@ Slides are contained within a limited portion of the screen by default to allow
|
|||||||
|
|
||||||
Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition.
|
Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition.
|
||||||
|
|
||||||
Special syntax is available for adding attributes to Markdown-based generated `<slide>` element.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<section data-markdown>
|
|
||||||
<script type="text/template">
|
|
||||||
<!-- slide-attributes: data-background="#ff0000" -->
|
|
||||||
Mardown content
|
|
||||||
</script>
|
|
||||||
</section>
|
|
||||||
```
|
|
||||||
|
|
||||||
### Parallax Background
|
### Parallax Background
|
||||||
|
|
||||||
@ -401,17 +404,6 @@ The global presentation transition is set using the ```transition``` config valu
|
|||||||
|
|
||||||
Note that this does not work with the page and cube transitions.
|
Note that this does not work with the page and cube transitions.
|
||||||
|
|
||||||
Special syntax is available for adding attributes to Markdown-based generated `<slide>` element.
|
|
||||||
|
|
||||||
```html
|
|
||||||
<section data-markdown>
|
|
||||||
<script type="text/template">
|
|
||||||
<!-- slide-attributes: data-transition="concave" -->
|
|
||||||
Mardown content
|
|
||||||
</script>
|
|
||||||
</section>
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### Internal links
|
### Internal links
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user