Skip to content

Commit

Permalink
Fix format problem in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnaydd committed Nov 15, 2019
1 parent 5fd9378 commit f15a404
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,21 @@ npm install gulp-twig --save
### Example

```html
{# index.twig #} {% extends "layout.twig" %} {% block page %}
<header>
<h1>Gulp and Twig.js</h1>
</header>
<p>
This page is generated by Twig.js using the gulp-twig gulp plugin.
</p>
<ul>
{% for value in benefits %}
<li>{{ value }}</li>
{% endfor %}
</ul>
{# index.twig #}
{% extends "layout.twig" %}

{% block page %}
<header>
<h1>Gulp and Twig.js</h1>
</header>
<p>
This page is generated by Twig.js using the gulp-twig gulp plugin.
</p>
<ul>
{% for value in benefits %}
<li>{{ value }}</li>
{% endfor %}
</ul>
{% endblock %}
```

Expand Down

0 comments on commit f15a404

Please sign in to comment.