About Using Markdown for Simple Template Views

For simple template views, such as "Terms", "Privacy Policy", or "About us", you can use Markdown syntax with django-markdownify:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{% extends "base.html" %}
{% load markdownify %}

{% block content %}
{% filter markdownify %}
# Terms of Use

_Last updated on March 9, 2022_
{% endfilter %}
{% endblock %}

Tips and Tricks Programming Django 4.x Django 3.2 Django 2.2 Django 1.11 Django 1.8