syntax highlighting for Twig examples enabled

This commit is contained in:
Peter Kokot
2014-12-07 21:46:54 +01:00
parent 41811b5df3
commit 846addf2ed

View File

@@ -20,7 +20,7 @@ when proper caching is used.
Using the [Twig](http://twig.sensiolabs.org/) library.
{% highlight text %}
{% highlight html+jinja %}
{% raw %}
{% include 'header.html' with {'title': 'User Profile'} %}
@@ -35,7 +35,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
Using the [Twig](http://twig.sensiolabs.org/) library.
{% highlight text %}
{% highlight html+jinja %}
{% raw %}
// template.html
@@ -54,7 +54,7 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
{% endraw %}
{% endhighlight %}
{% highlight text %}
{% highlight html+jinja %}
{% raw %}
// user_profile.html
@@ -66,4 +66,4 @@ Using the [Twig](http://twig.sensiolabs.org/) library.
<p>Hello, {{ name }}</p>
{% endblock %}
{% endraw %}
{% endhighlight %}
{% endhighlight %}