Merge pull request #29 from servusoft/master

add vertical separator '--'
This commit is contained in:
Alex Miasoiedov 2018-02-20 11:06:43 -05:00 committed by GitHub
commit 359ddc2605
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 49 additions and 1 deletions

View file

@ -2,11 +2,14 @@
### Hack together simple slides
<!-- .slide: data-transition="zoom" -->
---
## The Basics
- Separate slides using '`---`' on a blank line
- For vertical slides use '`--`'
- Write github flavored markdown
- 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
- [RevealJS Demo/Manual](http://lab.hakim.se/reveal-js)

View file

@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() {
function insertMarkdownReference() {
var markdownReference = $('<section/>', {
'data-markdown': "/slides.md",
'data-separator': "^-( *)-( *)-( *-*)*",
'data-separator': "^---\n",
'data-separator-vertical': "^--\n",
'data-separator-notes': "^Note:",
'data-charset': "utf-8"
});