I'm learning Django. I have a views.py file that converts markdown into html. Then this is passed as a variable, called body into the following html. When I view the page, rather than converting the variable body into html, it just displays:
<h1>CSS</h1> <p>Cats can run fast or slow <a href="/animals/HTML">HTML</a> page.</p>
Below is my html file. I'm wondering, in order for the html to be read by the web-browser not as a string but as html, do I do something different then {{body}}?
{% extends "mapper/layout.html" %}
{% block title %}
mapper
{% endblock %}
{% block body %}
<h1>{{ title }}</h1>
<div>
{{ body }}
</div>
{% endblock %}