Ask HN:如何将 Microsoft Word 文档转换为 Markdown?
4 分•作者: lkrubner•4 个月前
我接手了一个由海外团队开发的旧项目。他们设置了一个数据摄取流程,其中一个步骤是使用 LibreOffice(无头模式)将 Microsoft Word 文档转换为 PDF。之后,我们会将所有 PDF 转换为 Markdown。他们认为先将所有内容转换为 PDF,然后再将所有 PDF 转换为 Markdown 是最佳方案。
我注意到,当 Microsoft Word 文档包含以下内容时,LibreOffice 会生成非常复杂的 PDF:
1. 表格
2. 多栏布局
3. 删除线文本
我正在考虑是否应该直接从 Microsoft Word 转换为 Markdown。
为此,有什么合适的软件?
查看原文
I took over a project that was built by an overseas team. They set up a data ingestion process. They have a step in the ingestion where they use Libre Office (in headless mode) to convert Microsoft Word documents to PDFs. Later we convert all PDFs to Markdown. They felt that it was best to convert everything to a PDF, and then convert all of the PDFs to Markdown.<p>What I notice is that LibreOffice can create very complex PDFs when the Microsoft Word document has:<p>1. tables<p>2. multiple columns<p>3. strikethrough text<p>I am thinking we should go straight from Microsoft Word to Markdown.<p>What is the right software for that?