marktext: can not import html with pandoc installed
Description
- Can you reproduce the issue?
Steps to reproduce
- [First step]
drag
html
file into the window
Expected behavior:
successfully open html
file
Actual behavior:
can not open html
file
Link to an example: [optional]
Versions
- Mark Text: v0.15.0
- Operating system: 10.15 Beta(19A573a)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 26 (11 by maintainers)
I have found a solution:
/Applications/MarkText.app/Contents/MacOS/MarkText
, it doesn’t throw any errors. However, when starting it directly from Finder or using cmd+space, it gives an error indicating that pandoc cannot be found.process.env.PATH
. It seems that only the following directories are present in the PATH:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
.mkdir -p /Library/Tex/texbin
. Then move the pandoc executable to this directory. This should resolve the issue.You don’t actually need to install Joplin. I just wanted to clarify that when launching MarkText from Finder, it only searches for pandoc in the directories
/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin
. This behavior might be a bug that needs to be addressed.version: Mac m1 pro 13.3.1 (a) (22E772610a) MarkText v0.17.1
Hi everybody! Thank you for developing MarkText. I had the same issue: MarkText on MacOs didn’t recognise a valid pandoc installation. I noticed that MarkText recognises pandoc if I launch it from the command line, i.e., if MarkText is installed in the /Applications folder:
/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text
Hope it helps. F