We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Before I explain my issue, let me tell you some basics of my system: windows 10 python 3.6 django 1.9
I followed the documention of 'django-markdown-deux', from it, I learned it has four steps to be implemented. Firstly: pip3 install django-markdown-deux Secondly: add 'markdown_deux' into your INSTALLED_APP Thirdly: add {% load markdown_deux_tags %} into your header.html Finally: add {{ post.body|markdown }}, as I want to transfer post.body to markdown
{% extends "personal/header.html" %} {% block content %} <h3><a href="/blog/{{post.id}}">{{ post.title }}</a></h3> <h6> on {{ post.date }}</h6> <div class = "container"> {{ post.body|markdown }} </div> <br><br> {% endblock %}
after doing this, I have "Error during template rendering"
In template F:\django\mysite_1\blog\templates\blog\post.html, error at line 8 Invalid filter: 'markdown'
The text was updated successfully, but these errors were encountered:
Hey @SecretCat,
The only time I experience this is when I am not loading the Markdown Deux tags,
{% load markdown_deux_tags %}
Can you post your header.html contents?
header.html
Sorry, something went wrong.
No branches or pull requests
Before I explain my issue, let me tell you some basics of my system:
windows 10
python 3.6
django 1.9
I followed the documention of 'django-markdown-deux', from it, I learned it has four steps to be implemented.
Firstly: pip3 install django-markdown-deux
Secondly: add 'markdown_deux' into your INSTALLED_APP
Thirdly: add {% load markdown_deux_tags %} into your header.html
Finally: add {{ post.body|markdown }}, as I want to transfer post.body to markdown
after doing this, I have "Error during template rendering"
The text was updated successfully, but these errors were encountered: