mediawiki-to-gfm icon indicating copy to clipboard operation
mediawiki-to-gfm copied to clipboard

Unable to locate pandoc

Open dbookstaber opened this issue 1 year ago • 1 comments

Running in Windows 10 command prompt

D:\mediawiki-to-gfm>php convert.php --filename=wiki.xml --output=wiki
'which' is not recognized as an internal or external command,
operable program or batch file.
Unable to locate pandoc

Versions reported in command prompt

  • PHP 8.3.1
  • pandoc 3.1.11
  • Composer 2.6.6

These are all reported when run from the same location, so I don't believe this is a path/env issue.

dbookstaber avatar Dec 22 '23 22:12 dbookstaber

Mediawiki-to-gfm is for linux, not windows.

you need to transform some function on Pandoc.php for windows.

lisandru1208 avatar Jan 25 '24 14:01 lisandru1208