ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

wkhtmltopdf

by jrappen ST4 Missing

Convert HTML to PDF via wkhtmltopdf in Sublime Text.

Labels html, pdf, utilities, utils

Details

Installs

  • Total 1K
  • Win 673
  • Mac 217
  • Linux 171
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13
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

License Required ST Build Downloads Package Control Latest tag

wkhtmltopdf plug-in for Sublime Text

Convert HTML to PDF via wkhtmltopdf in Sublime Text.

Documentation

Plugin documentation is available via the menu or command palette.

Code of conduct

Code of conduct

Contributing guide

Contributing guide

Requirements

  • This plug-in targets and is tested against the latest Build of Sublime Text, currently requiring Build 4074 or later.
  • Install Package Control
    • Close and reopen Sublime Text after having installed Package Control.
  • wkhtmltopdf must be in your PATH!

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 wkhtmltopdf on 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.

Donations

paypal.me/jrappen