Closed xiaoshanhuang closed 10 years ago
please show your settings file.
{
"pandoc-path": "/usr/local/bin/pandoc"
}
while my pandoc is in the correct path
which pandoc
/usr/local/bin/pandoc
I checked the code and
pandoc = _find_binary('pandoc', _s('pandoc-path'))
where _s('pandoc-path')
returns None
Your settings file should look like
{
"default": {
"pandoc-path": "/usr/local/bin/pandoc",
or
{
"user": {
"pandoc-path": "/usr/local/bin/pandoc",
The difference being default
will overwrite the default settings, while user
will be merged.
Also, when running pandoc in sublime text, if you open the console you can see the command the module tries to execute.
got it, thanks!
can't locate pandoc even when "pandoc-path" was set in user settings, seems the user setting is not loaded correctly, works fine when default setting is correct.