Sublime Forum

Generating PDF from HTML via wkhtmltopdf

#1

Total downloads via Package Control License Latest release

wkhtmltopdf plug-in for Sublime Text 3

RequirementsInstallationUsageSettingsIssuesLicense


Requirements

Installation

Using Package Control is not required, but recommended as it keeps your packages (with their dependencies) up-to-date!

Installation via Package Control

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.

0 Likes