Creating a revealjs presentation in Jekyll.
@kbrock
Markdown uses ---
to produce an <hr>
.
Put these to mark the next slide:
<section>
{ { content | replace: "<hr />", "</section><section>" }}
</section>
add 2 custom tags to change navigation: ++
, --
:
<section>
{ { content |
replace: "<hr />", "</section><section>" |
replace: "<p>++</p>", "<section>" |
replace: "<p>–</p>", "</section>" }}
</section>
Note: that is &emdash
not --
.
css/theme/default.scss
_sass/theme/_mixins.css
_sass/theme/template/{_settings.scss,_theme.scss}
@import
s non relative.syntax-highlighting
default.scss
post declares boilerplate in frontmatter:
---
layout: reveal
---
Use this presentation for an example.
The most work was fixing the css. (still outstanding)