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
{% extends "base.html" %}
{% load markdownify %}

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

_Last updated on October 26, 2023_
{% endfilter %}{% endblock %}

Tips and Tricks Programming Django 4.2 Django 3.2 Django 2.2