pelican: How to embed html and javascript in markdown
Probably the reason its not working is that you've indented your code, which means that it gets inserted as a <code>
block in the HTML, according to the Markdown spec: daringfireball.net/projects/markdown/syntax#precode