1
파이썬 마크 다운의 각주 확장에서 기대했던 것을 얻지 못했습니다.각주로 파이썬 마크 다운
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