caktus / django-styleguide

Styleguide helper for projects that work with design teams
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

Example code should maintain tag references #19

Open nckathleen opened 8 years ago

nckathleen commented 8 years ago
{% example "Static example" %}
<img src="{% static 'images/home-page/books-icon.png' %}" width="110" height="110"></img>
{% endexample %}

Currently the preformatted code example will show the src=/static/.... rather than maintaining the use of the static template tag. Ideally the code examples can be copied and pasted so they should continue to use any template tag references.