Im using python markdown for my django project, when i have the value
#/usr/bin/env python
print "this is converted to html code block"
the output is
<pre><code>
#/usr/bin/env python
print "this is converted to html code block"
</code><pre>
Now my question is that how can i pass class attribute and value to code elem. Sample:
#i should be using some markdown syntax below
[class="python"]
#/usr/bin/env python
print "this is converted to html code block"
and then the output here
<pre><code class="python">
#/usr/bin/env python
print "this is converted to html code block"
</code><pre>
is that possible? and how?