vscode-markdown-pdf
vscode-markdown-pdf copied to clipboard
Markdown 1.4.3 - unable to create PDF from md
When I try to create pdf from markdown file that includes tables and images, nothing happens. HTML is generated but pdf is not - the process either never ends or ends with timeout. I'm using 1.4.3
Did you create a PDF with Markdown 1.4.2 ? Could you provide a sample file that causes a problem ?
# Markdown PDF
This extension converts Markdown files to pdf, html, png or jpeg files.
## Table of Contents
<div class="page"></div>
## Features
Supports the following features
* [Syntax highlighting](https://highlightjs.org/static/demo/)
* [emoji](http://www.webpagefx.com/tools/emoji-cheat-sheet/)
* [markdown-it-checkbox](https://github.com/mcecot/markdown-it-checkbox)
* [markdown-it-container](https://github.com/markdown-it/markdown-it-container)
* [markdown-it-include](https://github.com/camelaissani/markdown-it-include)
* [PlantUML](http://plantuml.com/)
* [markdown-it-plantuml](https://github.com/gmunguia/markdown-it-plantuml)
* [mermaid](http://knsv.github.io/mermaid/)
* [knsv/mermaid](https://github.com/knsv/mermaid)
Any kind of .md file doesn't work, even this.
Last time I checked it was working was a month ago - it was latest version at that time.
Can you solve the problem with the following operation ?
- Set the
markdown-pdf.executablePath
option - Restart the Visual Studio Code
Yup, that solves the issue. Is there an alternative to this?
If the PDF was generated using the markdown-pdf.executablePath option, you may have failed to automatically download Chromium. Therefore, please reinstall markdown-pdf.
I've got the same problem.
Problem: " The extension is not able to download and install chromium". Test Environment:
- MacOS 10.14.16
- Code 1.43.0
- extension [email protected]
Working: LUbuntu:
- Ubuntu Version: 18.0.4
- Code: 1.42.1
- [email protected]
I'm sorry but I'm quite busy today If I had time I will provide more data.
Regards and thank you for your work in the project, It's very helpful for me and my students.
I've upgraded vscode and the extension in MacOs, and now Markdown-pdf is working again:
- MacOS version: 10.14.16
- Code 1.43.1 (x64)
- [email protected]
Thank you! Regards
Can you solve the problem with the following operation ?
- Set the
markdown-pdf.executablePath
option- Restart the Visual Studio Code
Is this the executable path? /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
Setting executable like @yzane mentioned fixes the problem for me.
Setting executable like @yzane mentioned fixes the problem for me.
For me too.