Merge pull request #29 from servusoft/master
add vertical separator '--'
This commit is contained in:
commit
359ddc2605
2 changed files with 49 additions and 1 deletions
|
@ -2,11 +2,14 @@
|
||||||
|
|
||||||
### Hack together simple slides
|
### Hack together simple slides
|
||||||
|
|
||||||
|
<!-- .slide: data-transition="zoom" -->
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## The Basics
|
## The Basics
|
||||||
|
|
||||||
- Separate slides using '`---`' on a blank line
|
- Separate slides using '`---`' on a blank line
|
||||||
|
- For vertical slides use '`--`'
|
||||||
- Write github flavored markdown
|
- Write github flavored markdown
|
||||||
- Click 'Present' (top right) when you're ready to talk
|
- Click 'Present' (top right) when you're ready to talk
|
||||||
|
|
||||||
|
@ -24,6 +27,50 @@ Note:
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## More markdown (fragments)
|
||||||
|
|
||||||
|
* static text
|
||||||
|
* fragment <!-- .element: class="fragment" -->
|
||||||
|
* fragment grow <!-- .element: class="fragment grow" -->
|
||||||
|
* fragment highlight-red <!-- .element: class="fragment highlight-red" -->
|
||||||
|
* press key down <!-- .element: class="fragment fade-up" -->
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
## More markdown (tables)
|
||||||
|
|
||||||
|
****
|
||||||
|
|
||||||
|
|h1|h2|h3|
|
||||||
|
|-|-|-|
|
||||||
|
|a|b|c|
|
||||||
|
|
||||||
|
****
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
## More markdown (code)
|
||||||
|
|
||||||
|
```
|
||||||
|
version: '2'
|
||||||
|
services:
|
||||||
|
slides:
|
||||||
|
image: msoedov/hacker-slides
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
volumes:
|
||||||
|
- ./slides:/app/slides
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
environment:
|
||||||
|
- USER=bob
|
||||||
|
- PASSWORD=pa55
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Learn more
|
## Learn more
|
||||||
|
|
||||||
- [RevealJS Demo/Manual](http://lab.hakim.se/reveal-js)
|
- [RevealJS Demo/Manual](http://lab.hakim.se/reveal-js)
|
||||||
|
|
|
@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() {
|
||||||
function insertMarkdownReference() {
|
function insertMarkdownReference() {
|
||||||
var markdownReference = $('<section/>', {
|
var markdownReference = $('<section/>', {
|
||||||
'data-markdown': "/slides.md",
|
'data-markdown': "/slides.md",
|
||||||
'data-separator': "^-( *)-( *)-( *-*)*",
|
'data-separator': "^---\n",
|
||||||
|
'data-separator-vertical': "^--\n",
|
||||||
'data-separator-notes': "^Note:",
|
'data-separator-notes': "^Note:",
|
||||||
'data-charset': "utf-8"
|
'data-charset': "utf-8"
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue