Hello all,
I'm currently trying to render some text in Markdown format, that
contains templatetags. For example:
[This]({% cms_link 22 %}) is a link.
If I render this:
{{ that_text|markdown }}
the '{% cms_link 22 %}' remains verbatim in the output.
As I see it, there are two potential solutions:
* a solution using templatetags of which I am not yet aware, or
* some pre-processing within the view.
Is this a correct assumption, or am I missing something?
If I have to resort to the latter, what would it involve? How do I pass
a templatetag (rather than just a variable) into a template processor?
Thanks in advance,
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---