Displaying 1 result from an estimated 1 matches for "my_header".
Did you mean:
mc_header
2011 Sep 22
1
computation of header ids
...sing the header id extension from markdown extra and in my
perception it gets wrong when I use attributes on headers, for instance:
>>> md = markdown.Markdown(['extra'])
>>> md.convert('# My header {@class=red}')
u'<h1 class="red" id="my_header_classred_1">My header </h1>'
I would have expected:
u'<h1 class="red" id="my_header">My header </h1>'
An other example:
>>> markdown.markdown("# Test {@style=position: absolute; top: 100px;
left: 455px; width: 300px;...