1
我沒有從Python Markdown的腳註擴展中得到預期的結果。Python Markdown with footnotes
import markdown
content = "Footnotes[^1] have a label[^@#$%] and the footnote's content.\
\
[^1]: This is a footnote content.\
[^@#$%]: A footnote on the label: @#$%."
htmlmarkdown=markdown.markdown(content, extensions=['footnotes'])
print htmlmarkdown
結果是:
<p>Footnotes[^1] have a label[^@#$%] and the footnote's content.[^1]: This is a footnote content.[^@#$%]: A footnote on the label: @#$%.</p>
腳註是不是在所有解析!這是爲什麼?
你是對的,謝謝! – bard