aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorAdam Chainz <me@adamj.eu>2016-05-03 14:13:45 +0100
committerDavid Lord <davidism@gmail.com>2016-05-03 06:13:45 -0700
commitb927c9f27115de078f143ea23f6fb25e7ae204cd (patch)
treea5e3034ee40e265bdbb6010b6f4b4338d9b5204f /README.rst
parentd9b879d1f9388b5cb4679b816767d41abe6e3829 (diff)
downloadjinja-b927c9f27115de078f143ea23f6fb25e7ae204cd.tar.gz
README - fixes (#578)
* Add syntax highlighting * Fix build table which doesn't display on Github RST renderer
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 43f640f1..44571dca 100644
--- a/README.rst
+++ b/README.rst
@@ -8,7 +8,9 @@ an optional `sandboxed`_ environment.
Nutshell
--------
-Here a small example of a Jinja template::
+Here a small example of a Jinja template:
+
+.. code-block:: jinja
{% extends 'base.html' %}
{% block title %}Memberlist{% endblock %}
@@ -41,9 +43,9 @@ Builds
------
+---------------------+------------------------------------------------------------------------------+
-| ``master`` | .. image:: https://travis-ci.org/pallets/jinja.svg?branch=master |
-| | :target: https://travis-ci.org/pallets/jinja |
+| ``master`` | .. image:: https://travis-ci.org/pallets/jinja.svg?branch=master |
+| | :target: https://travis-ci.org/pallets/jinja |
+---------------------+------------------------------------------------------------------------------+
-| ``2.7-maintenance`` | .. image:: https://travis-ci.org/pallets/jinja.svg?branch=2.7-maintenance |
-| | :target: https://travis-ci.org/pallets/jinja |
+| ``2.7-maintenance`` | .. image:: https://travis-ci.org/pallets/jinja.svg?branch=2.7-maintenance |
+| | :target: https://travis-ci.org/pallets/jinja |
+---------------------+------------------------------------------------------------------------------+