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

wkhtmltopdf

Convert HTML to PDF via wkhtmltopdf in Sublime Text.

Labels html, pdf, utilities, utils

Details

Installs

  • Total 886
  • Win 568
  • Mac 171
  • Linux 147
Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22
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 Donate via PayPal SublimeHQ Discord

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

can be found in the default community health files

https://github.com/jrappen/.github/blob/master/CODE_OF_CONDUCT.md

Contributing guide

can be found in the default community health files

https://github.com/jrappen/.github/blob/master/CONTRIBUTING.md

Requirements

  • This plug-in targets and is tested against the latest Build of Sublime Text, currently requiring Build 4074 or later.
    • (stable channel)
    • (dev channel)
  • wkhtmltopdf must be in your PATH!

Installation

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

Installation via Package Control

Usage

Use either of the following two methods to convert an HTML document in the active view to PDF by selecting wkhtmltopdf: Convert to PDF from the:

  • context menu
  • 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. The default is:

Error: language “jsonc” is not supported
//  Packages/wkhtmltopdf/.sublime/settings/wkhtmltopdf.sublime-settings

{
    "wkhtmltopdf.cmd_options": "--javascript-delay 10000 --outline-depth 8 --encoding utf-8"
}

You can adjust them via the command palette (Preferences: wkhtmltopdf: Settings) or the main menu (Preferences > Package Settings > wkhtmltopdf > Settings).

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