📝 Markdown API 参考
子库名:
pomarkdown| 安装:pip install pomarkdown导入:import office或import pomarkdown
excel2markdown
office.markdown.excel2markdown(
input_file,
output_file,
sheet_name=None
)
示例
import office
office.markdown.excel2markdown(input_file='data.xlsx', output_file='output.md')
office.markdown.excel2markdown(
input_file='data.xlsx', output_file='sheet1.md', sheet_name='Sheet1'
)