diff --git a/_config.yml b/_config.yml index b6d1740..aec76bf 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,5 @@ # Your presentation title +title: Jekyll and Reveal.js # Your presentation description (optional) description: A framework for easily creating beautiful presentations using HTML diff --git a/_layouts/reveal.html b/_layouts/reveal.html index f5beadc..c04a143 100644 --- a/_layouts/reveal.html +++ b/_layouts/reveal.html @@ -62,14 +62,13 @@ | replace:'','' %}{% - assign first_char = line + assign first_char = line | strip | slice: 0,1 %}{% if first_char == '+' %}{% assign processed_line = processed_line - | replace_first: '+','' - | prepend: '+ ' + | replace_first: '+','+ ' %}{% endif %}{{ processed_line }}{% comment %}Following line break is important{% endcomment %} diff --git a/_posts/0000-01-03-fragments.md b/_posts/0000-01-03-fragments.md index 464fee9..f54f7c4 100644 --- a/_posts/0000-01-03-fragments.md +++ b/_posts/0000-01-03-fragments.md @@ -6,5 +6,6 @@ It's also possible to do fragments. `+ This is a fragment` + This is a fragment + Your fragment may contain the ‘+’ character + + You can also indent fragments You can use <fragment/> to step other content.