ChrisChinchilla / vscode-pandoc

Visual Studio Code extension lets you render markdown to pdf, word doc or html with pandoc
MIT License
26 stars 13 forks source link

extension using wrong version of pandoc #2

Closed badralbanna closed 4 years ago

badralbanna commented 4 years ago

I keep running into a problem where it runs the wrong version of pandoc vis whatever PATH is being used by the shell behind the scenes (I'm on macOS want to use my homebrew version but it keeps picking the one from anaconda python). It would be great to be able to have the option to explicitly specify which pandoc the extension uses to avoid this in the future. Thanks!

cands commented 4 years ago

I have a similar problem and also want to be able to explicitly set the pandoc version. In my case the extension is attempting to use /bin/sh/pandoc but that does not exist and thus an error is generated. I would like to use the anaconda version /Users/*******/anaconda3/bin/pandoc

feeeper commented 4 years ago

@ChrisChinchilla I fix it in my fork of the repo. So I can copy my changes here.

ChrisChinchilla commented 4 years ago

I completely missed this issue, sorry! I have allowed for using custom paths in similar extensions, so can add here, or if you have a PR @feeeper then please open one and I'll add it in :)

feeeper commented 4 years ago

@ChrisChinchilla Ok, I'm going to PR this feature later this week 👍

ChrisChinchilla commented 4 years ago

Closed by #4