I have a text field in my model that contains markdown text. I need to convert the text to html and show it in my .pt
template. what is the best way to do it?
I realise that I can add a method to my model that converts the field and returns HTML, and then call the method from my template, but can I do it without this extra method, by using only the markdown field in my template similarly to Django's?
{{ mytext|markdown:"safe" }}