Skip to content
This repository has been archived by the owner on Sep 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #29 from servusoft/master
Browse files Browse the repository at this point in the history
add vertical separator '--'
  • Loading branch information
msoedov committed Feb 20, 2018
2 parents 1b402b6 + 9c019aa commit 359ddc2
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
47 changes: 47 additions & 0 deletions initial-slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion static/js/slides.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
});
Expand Down

0 comments on commit 359ddc2

Please sign in to comment.