wkhtmltopdf
Convert HTML to PDF via wkhtmltopdf in Sublime Text.
Details
Installs
- Total 1K
- Win 673
- Mac 217
- Linux 171
| Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 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.