From ef90437d88d3156cf7103a356f67a41e733b3a4a Mon Sep 17 00:00:00 2001 From: servusoft Date: Sun, 18 Feb 2018 01:07:30 +0100 Subject: [PATCH 1/2] add vertical separator '--' --- static/js/slides.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/slides.js b/static/js/slides.js index 36e79d2..234a298 100644 --- a/static/js/slides.js +++ b/static/js/slides.js @@ -86,7 +86,8 @@ function highlightAnyCodeBlocks() { function insertMarkdownReference() { var markdownReference = $('
', { 'data-markdown': "/slides.md", - 'data-separator': "^-( *)-( *)-( *-*)*", + 'data-separator': "^---\n", + 'data-separator-vertical': "^--\n", 'data-separator-notes': "^Note:", 'data-charset': "utf-8" }); From 9c019aa1f74999ceb16223c4a9a5f02ff2498cd4 Mon Sep 17 00:00:00 2001 From: servusoft Date: Mon, 19 Feb 2018 22:55:52 +0100 Subject: [PATCH 2/2] add more slides --- initial-slides.md | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/initial-slides.md b/initial-slides.md index 1146ae4..82d8b11 100644 --- a/initial-slides.md +++ b/initial-slides.md @@ -2,11 +2,14 @@ ### Hack together simple slides + + --- ## 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 +* fragment grow +* fragment highlight-red +* press key down + +-- + +## 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)