Comments (12)
Problem is that the string (quoted above) has Windows-style backslashes as directory separators, and the package includes a Windows executable (phantomjs.exe
). This causes things not to work on anything but Windows. (I first found this problem on Ubuntu.)
ERROR: phantomjs binary does not exist: /Users/Hahaha/.vscode/extensions/yzane.markdown-pdf-0.1.7/node_modules/phantomjs-prebuilt/lib/phantom\bin\phantomjs.exe
It should be possible to rebuild on your system from source and workaround this, but the instructions for doing this are insufficient; or perhaps I don't have all the right versions of all the node.js things around on my system. In any case, I think that shipping the .exe
form causes this package to be Windows-only, at least for now.
Very useful package, by the way, thank you @yzane !
from vscode-markdown-pdf.
I just wanted to add that, as expected, on Linux (Linux Mint 18.2 Sonya) I have the same problem.
from vscode-markdown-pdf.
I pre-released Markdown PDF ver1.0.0 which replaced pdf converter with puppeteer instead of html-pdf.
Please download from here and try.
from vscode-markdown-pdf.
I had the same problem. Uninstalling and reinstalling the extension solved the problem
from vscode-markdown-pdf.
i had the same problem.Uninstalling and reinstalling the extension doesn't work for me. Any one have other solutions.
from vscode-markdown-pdf.
i had the same problem.Uninstalling and reinstalling the extension doesn't work for me too.
macOS version : Sieaar 10.12.6 (16G29)
vscode version : 1.15.1 (1.15.1)
from vscode-markdown-pdf.
Had same problem too. Uninstalling and reinstalling didn't work too.
from vscode-markdown-pdf.
To help the developer and focus the issue on the Windows path, I've made this into a very specific issue here: #52
Then I found that uninstalling (and quitting VSCode in my case, which may or may not be necessary) then reinstalling the extension and reloading the window worked.
from vscode-markdown-pdf.
hello,everybody. i had the same problem in my mac.
i try to install Phantomjs ,and then the extension is ok.
if you want to install Phantomjs,follow steps
- install node environment
use nvm or use node offical
- use npm install Phantomjs
npm install phantomjs -g
have a try to convert a md to pdf, it will be success.
from vscode-markdown-pdf.
ver 1.0 works well on macOS High Sierra. Thank you @yzane !
from vscode-markdown-pdf.
Markdown PDF ver1.0.0 replaced PDF converter with puppeteer instead of node-html-pdf.
Therefore PhantomJS is no longer used.
from vscode-markdown-pdf.
@csjune Thank you for the report.
from vscode-markdown-pdf.
Related Issues (20)
- Glyph from a TTF not rendered in PDF
- Page numbers not showing up HOT 1
- High Fan Speed when attempt export to HTML or PDF - Unable to export from Markdown
- CSS float seems to be ignored HOT 1
- Layout Issues with div Tags in Markdown when Outputting to PDF
- Kate auto renderer for HTML exports needs update
- What am I missing? It doesn't convert math formula embedded at all. HOT 3
- Empty Page Number
- PDF output does not utilize CSS stylization.
- Enable GitHub Discussion.
- What is the installed location of Chromium, and how can it be deleted? HOT 1
- how to add a underline under the img of the page header HOT 1
- text-underline-offset is not valid
- PDF text selection and search is not working HOT 2
- Add support for markdown note format HOT 1
- Add support for Mermaid invisible links
- The new keywords from metadata to be added to the header/footer template.
- [demand]希望增加直接将一个文件夹中所有markdown文件导出为一个pdf的功能 HOT 1
- Blockquote render PDF
- References that skip invalid characters are not created as links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-markdown-pdf.