{% with node=revision.object %}
{{ node.body|markdown|reference|str|safe }}
{% endwith %}