Skip to content

Commit

Permalink
Merge pull request #22 from mrmanc/fix-colour-syntax
Browse files Browse the repository at this point in the history
Fix #17 by correcting <background/> to </background>
  • Loading branch information
dploeger authored Feb 5, 2019
2 parents 4d3b2d4 + c1668ca commit de0e5ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _layouts/reveal.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
{% for post in site.posts reversed %}
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$" data-notes="^Note:">
<script type="text/template">
{{ post.content | replace:'<fragment/>','<!-- .element: class="fragment" -->' | replace:'<background>','<!-- .slide: data-background="' | replace:'<background/>','" -->' }}
{{ post.content | replace:'<fragment/>','<!-- .element: class="fragment" -->' | replace:'<background>','<!-- .slide: data-background="' | replace:'</background>','" -->' }}
</script>
</section>
{% endfor %}
Expand Down
4 changes: 2 additions & 2 deletions _posts/0000-01-05-background.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Backgrounds

<background>green<background/>
<background>green</background>

Or use different backgrounds.

&lt;background&gt;green&lt;background/&gt;
&lt;background&gt;green&lt;/background&gt;

0 comments on commit de0e5ea

Please sign in to comment.