-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizations, configuration management and simplification plugins
- Loading branch information
Showing
8 changed files
with
140 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,29 @@ | ||
name: Jekyll and Reveal.js | ||
# Your presentation title | ||
title: Jekyll and Reveal.js | ||
|
||
# The Reveal theme | ||
reveal_theme: default.css | ||
|
||
# The Reveal transition | ||
reveal_transition: default | ||
|
||
# Path to the used theme (defaults to the Reveal.js standard theme path) | ||
reveal_theme_path: reveal.js/css/theme/ | ||
|
||
# Embed Server-side speaker notes? | ||
reveal_notes_server: false | ||
|
||
# Additional reveal.js options | ||
reveal_options: | ||
|
||
# Additional reveal.js dependencies | ||
reveal_dependencies: | ||
|
||
# Reveal.js subdirectory | ||
reveal_path: reveal.js/ | ||
|
||
# Don't change anything below | ||
markdown: redcarpet | ||
pygments: true | ||
markdown_ext: ignoreme | ||
reveal_theme: default | ||
reveal_transition: default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module Jekyll | ||
|
||
class RenderBackground < Liquid::Tag | ||
|
||
def initialize(tag_name, text, tokens) | ||
super | ||
@text = text | ||
end | ||
|
||
def render(context) | ||
"<!-- .slide: data-background=\"#{@text}\" -->" | ||
end | ||
|
||
end | ||
|
||
end | ||
|
||
Liquid::Template.register_tag('background', Jekyll::RenderBackground) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Jekyll | ||
|
||
class RenderFragment < Liquid::Tag | ||
|
||
def render(context) | ||
"<!-- .element: class=\"fragment\" -->" | ||
end | ||
|
||
end | ||
|
||
end | ||
|
||
Liquid::Template.register_tag('fragment', Jekyll::RenderFragment) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Backgrounds | ||
|
||
{% background green %} | ||
|
||
Or use different backgrounds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters