4 ms·
What is a good way to convert MS Office documents to markdown -- until Microsoft adds "Saves As" option to office apps. Anything that can run locally instead o
by albert_e 7mo ago
What is a good way to convert MS Office documents to markdown -- until Microsoft adds "Saves As" option to office apps.
Anything that can run locally instead of uploading potentially sensitive stuff to random websites. Would be handy on work PCs.
- ckcheng 7mo agoYou could open the doc or docx in LibreOffice 26.2 and use its Markdown export feature?
- albert_e 7mo agoLibreoffice cannot be installed on work PC
- 1718627440 7mo agoYou can put it on and USB stick, see e.g. https://portableapps.com/ https://portableapps.com/, this includes a package manger and other tools.
- cricalix 7mo agoAnd potentially get fired for using unauthorised software on a corporate machine. Or find out tha USB storage is disabled (which is better than getting fired).
- johannesrexx 7mo agoThat is horribly Draconian. You need to find a better place to work. "Unauthorized software" is a thing where you work? OMFG.
- ThePowerOfFuet 7mo agoThen talk to whoever manages your machines.
- timbit42 7mo agoThen instead of asking here, ask whoever controls what software you can install.
- albert_e 7mo agoI am surprised at such negative responses. I am asking about alternatives to LibreOffice for a reason (stated) Pandoc library and Microsoft Markitdown -- that other helpful comments suggested -- seem like two options that might actually work in my case and I will give them a try. My asking here was fruitful. Running python and using python libraries is allowed on our work pcs but not running arbitrary software and EXEs with or without an installer. I cannot override company security policy, and cannot simply "talk to" our infosec team and get them to allow me to install stuff. Hope this clarifies.
- johannesrexx 7mo agoAh yes, your workplace is under the control of the Microsoft Priesthood who have declared that the masses under their thumb will adhere to the law of Redmond, that no other religion will be tolerated. You need to find a better place to work.
- dotancohen 7mo agoThe canonical answer is Pandoc.
- KETHERCORTEX 7mo ago> until Microsoft adds "Saves As" option to office apps LibreOffice also allows to convert documents via command line, so there's one more bonus.
- mrw34 7mo agohttps://github.com/microsoft/markitdown https://github.com/microsoft/markitdown
- layer8 7mo agoIf you like to have it integrated in Word: https://www.writage.com/features/ https://www.writage.com/features/
- albert_e 7mo agoThanks This might be useful on a personal PC -- licence seems expensive, though I like it being a one time purchase and not monthly subscription. Will look to do the free trial to evaluate. (Hope we see more such tooling, and also push the likes of Microsoft to add native support) My main usecase is on work PC though where I wont be able to install additional software or plugins. So was exploring python scripts and the like. Thanks for the pointer.
- daveoc64 7mo agoBased on what others have suggested, I've just tried out pandoc for this, and it's produced really good results in CommonMark from some quite hideous Word documents.
- ilogik 7mo agoMicrosoft added markdown support to Notepad, and that went well /s
- justsomehnguy 7mo agoCopy-paste it to Obsidian.
- albert_e 7mo agoOh? Let me check. That would be wonderful
- jdboyd 7mo agoI don't know about converting PowerPoint and Excel to Markdown, but for Word, I'd say open the file in LibreOffice Writer 26.2, and save as Markdown. Alternatively, use pandoc, and save the command in a .sh or .ps1 to remember.