I define a variable in a pelican article using for instance Markdown syntax:
Motto: _"Paranoia is a virtue"_ Anonymous, 1984
Then I want to use it in a template (ex. article.html) as:
{% if article.motto %}<p>{{ article.motto }}</p>{% endif %}
I, obviously, obtain in HTML something like:
<p>_"Paranoia is a virtue"_ Anonymous, 1984</p>
Is there a way to process the variable (f.i. through a Jinja filter) to obtain the text after Markdown processing. In the case the result should be:
<p><i>"Paranoia is a virtue"</i> Anonymous, 1984</p>