我正在嘗試在 Python-markdown 的幫助下使用 Markdown 語法將表格呈現為 HTML:https : //python-markdown.github.io/我嘗試了此處提供的示例:https : //python-markdown.github.io/extensions/tables/from markdown import markdowns = """First Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | Content Cell"""html = markdown(s)print(html)但我得到的結果是:<p>First Header | Second Header------------- | -------------Content Cell | Content CellContent Cell | Content Cell</p>怎么了?
添加回答
舉報
0/150
提交
取消
