TGViewer
DPS Build DPS Build @dps_build · 1.01K subscribers
Post #422 407
微软出的 Markdown 转换工具,可以将以下格式转换成 markdown。

PDF (.pdf)
PowerPoint (.pptx)
Word (.docx)
Excel (.xlsx)
Images (EXIF metadata, and OCR)
Audio (EXIF metadata, and speech transcription)
HTML (special handling of Wikipedia, etc.)
Various other text-based formats (csv, json, xml, etc.)

老实说,这工具也只有微软自己能开发。处理过 docx 的朋友也许会明白有多痛苦。这玩意其实就是 xml 文件,但是微软不知道出于什么目的,把这个自定义的 xml 文件搞得支离破碎,直接解析 html tag 的话,每个句子都会变得不可读的碎片。

稍微看了下,这个包并没有自己解析 docx 文件,而是调用了开源的 python-mammoth 来解析。

https://github.com/microsoft/markitdown

https://github.com/mwilliamson/python-mammoth
GitHub GitHub - microsoft/markitdown: Python tool for converting files and office documents to Markdown. Python tool for converting files and office documents to Markdown. - microsoft/markitdown
  • 👍 2
More from @dps_build
  1. Oct 4, 2026试了一下 Codex Dot,对我来说没有太大帮助,因为和我的 paseo workflow 基本一致: 1. 在家里的服务器上跑 paseo daemon,用 cloudflar…
  2. Oct 1, 2026再次在釜山地铁体验了鬼打墙一般的体验: 1. 地铁入口的售票机可以买单词票,只接受现金和插入信用卡支付,不支持 tap 或者移动支付; 2. 单日票或者三日票不能在机器上购买,只能…
  3. Sep 24, 2026迄今为止买过的,最贵的 Apple 产品
  4. Sep 23, 2026看了下 DHL 的记录,从深圳到香港,然后就飞了。有意思的是,飞机还没飞,目的地的清关已经开始了。 door to door 不到24小时。可惜我不在家,错过了第一次投递😢
  5. Sep 22, 2026提前从深圳发货了,说是已经备货成功,物流准备提货了。提早了整整一个月,Apple 的供应链真厉害!
  6. Sep 20, 2026看到一个基于 jev 分类 tweets 情绪进而推测市场走向的项目,不尽感慨。 从 jev 出来到现在不过四五天就出来这个项目; 还没 ChatGPT 之前,还在 deep le…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →