Skip to content

Commit

Permalink
Merge pull request #38 from percipient/doc-syntax
Browse files Browse the repository at this point in the history
Syntax highlight jinja in the docs.
  • Loading branch information
lamby committed Feb 21, 2016
2 parents 09893f6 + 1e25c71 commit f7034d4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions django_slack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
})
Where ``path/to/my_message.slack`` (in your templates directory) might
contain::
contain:
.. code-block:: jinja
{% extends django_slack %}
Expand All @@ -60,7 +62,9 @@
automatically escaped. (See the
`Slack documentation <https://api.slack.com/docs/formatting>`_ for more
information.) If you wish to escape only the characters that MUST be escaped,
you can use the ``escapeslack`` tag, which is automatically available::
you can use the ``escapeslack`` tag, which is automatically available:
.. code-block:: jinja
{% extends django_slack %}
Expand Down

0 comments on commit f7034d4

Please sign in to comment.