Closed
Description
Version of Marp Tool
Marp CLI v4.1.0
Operating System
Windows
Environment
- OS version: Windows 11
- Node.js version: v20.17.0
How to reproduce
- Install LibreOffice via
scoop install libreoffice
- Run
marp --pptx-editable --pptx slide.md
Expected behavior
Export PPTX into slide.pptx
.
Actual behavior
[ ERROR ] Failed converting Markdown. (LibreOffice soffice binary could not be found.)
Additional information
LibreOffice soffice.exe installed via Scoop will be placed at %UserProfile%\scoop\apps\libreoffice\current\LibreOffice\program
.
Probably we have to search the location of LibreOffice from potential directories.
Workaround
Set SOFFICE_PATH
env as %UserProfile%\scoop\apps\libreoffice\current\LibreOffice\program\soffice.exe
.