擅长:python、mysql、java
<p>仅当破折号位于文本下方的行上时,它才会呈现为<code><h1></code>:</p>
<pre><code>>>> import markdown2
>>> rawtext = "Getting the Gist of Markdown's Formatting Syntax\n \nThis page offers a brief "
>>> markdown2.markdown(rawtext)
u"<h2>Getting the Gist of Markdown's Formatting Syntax</h2>\n\n<p>This page offers a brief </p>\n"
</code></pre>