wkhtmltopdf plug-in for Sublime Text 3
Requirements • Installation • Usage • Settings • Issues • License
Requirements
- This plug-in requires either Sublime Text 3 (stable) or Sublime Text 3 (dev).
-
wkhtmltopdfmust be in yourPATH!
Installation
Using Package Control is not required, but recommended as it keeps your packages (with their dependencies) up-to-date!
Installation via Package Control
-
Install Package Control
- Close and reopen Sublime Text 3 after having installed Package Control.
- Open the Command Palette (
Tools > Command Palette). - Choose
Package Control: Install Package. - Search for
wkhtmltopdfand select to install.
Manual installation
Download the binary file wkhtmltopdf.sublime-package from the latest release page into ../sublime/Data/Installed Packages/ where Sublime Text 3 is installed.
Usage
Use either of the following two methods to convert an HTML document in the active view to PDF:
- Context menu (right-click and select
wkhtmltopdf: Convert to PDF) - Command Palette (
wkhtmltopdf: Convert to PDF)
This takes a few seconds, see status bar for feedback.
Settings
Run wkhtmltopdf --extended-help via the command line to check for available options.
Issues
Please use Preferences > Package Settings > wkhtmltopdf > Report plug-in issue from the main menu.
License
See LICENSE.