wkhtmltopdf
Convert HTML to PDF via wkhtmltopdf in Sublime Text.
Details
Installs
- Total 1K
 - Win 673
 - Mac 217
 - Linux 171
 
| Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 
Readme
- Source
 - raw.githubusercontent.com
 
wkhtmltopdf plug-in for Sublime Text
Convert HTML to PDF via
wkhtmltopdfin Sublime Text.
Documentation
Plugin documentation is available via the menu or command palette.
Code of conduct
Contributing guide
Requirements
- This plug-in targets and is tested against the latest Build of Sublime Text, currently requiring 
Build 4074or later. - Install Package Control
- Close and reopen Sublime Text after having installed Package Control.
 
 wkhtmltopdfmust be in yourPATH!
Installation
Using Package Control required, as it keeps your packages (with their dependencies) up-to-date!
Installation via Package Control
- Open the Command Palette (
Tools > Command Palette). - Choose 
Package Control: Install Package. - Search for 
wkhtmltopdfon Package Control and select to install. 
Usage
To convert an HTML document in the active view to PDF by selecting wkhtmltopdf: Convert to PDF use the context menu or the command palette.
Depending upon your settings this takes a while, see status bar for feedback.
Settings
Run wkhtmltopdf --extended-help via the command line to check for available options. Adjust settings via:
Error: language “jsonc” is not supported
//  Packages/User/Preferences.sublime-settings
{
    "wkhtmltopdf.cmd_options": "--javascript-delay 10000 --outline-depth 8 --encoding utf-8"
}
Source Code
github.com/jrappen/sublime-wkhtmltopdf
License
see LICENSE
Issues
Please use the command palette or main menu to report an issue.