How about

MARKMIN(text, extra={"pre_with_code": lambda text: 
"<pre><code>{0}</code></pre>".
format(XML(text, sanitize=True))})

-- 



Reply via email to