Markdown, HTML and figures