Django

Django Code Screenshot Generator

Turn Django snippets into images worth sharing, without leaving your Mac.

Django templates mix two languages at once, and a screenshot is the clearest way to show where the template tags sit inside the markup.

Codeshot detects Django from the code you paste, so there is no language picker to get wrong. Here is the same snippet in three of the 30 themes it ships with, rendered with the app's own stylesheets.

{% extends "base.html" %}

{% block content %}
  <ul class="snapshots">
    {% for snap in snapshots %}
      <li>{{ snap.theme }}{{ snap.created|date:"j M Y" }}</li>
    {% endfor %}
  </ul>
{% endblock %}
Atom One · dark
{% extends "base.html" %}

{% block content %}
  <ul class="snapshots">
    {% for snap in snapshots %}
      <li>{{ snap.theme }}{{ snap.created|date:"j M Y" }}</li>
    {% endfor %}
  </ul>
{% endblock %}
Edge · dark
{% extends "base.html" %}

{% block content %}
  <ul class="snapshots">
    {% for snap in snapshots %}
      <li>{{ snap.theme }}{{ snap.created|date:"j M Y" }}</li>
    {% endfor %}
  </ul>
{% endblock %}
GitHub · dark

Choosing a theme for Django

Pick a theme that colours template tags differently from HTML. If they render the same, the whole point of the snippet disappears.

Getting the size right

Let the image follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4 — then export at 1×, 2×, or 3× so it stays sharp on a retina display. Copy it straight to the clipboard with C, or save with S.

See all 30 themes side by side, or read the full workflow.

Built for Django, and 59 other languages

Everything runs on your Mac. Your code never leaves it.

Download for macOS