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

Export​Html

by facelessuser ST3

Sublime Text - Export code to HTML for copying/printing/saving. http://facelessuser.github.com/ExportHtml

Details

  • 2.12.1
  • github.​com
  • github.​com
  • 7 months ago
  • 52 minutes ago
  • 6 years ago

Installs

  • Total 41K
  • Win 26K
  • OS X 11K
  • Linux 4K
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 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5
Windows 9 16 11 12 7 2 9 8 11 8 7 12 2 5 8 13 12 12 9 5 3 15 9 7 12 10 7 6 17 5 14 7 13 5 9 6 7 12 8 16 8 2 16 9 7 7
OS X 3 5 5 9 4 0 1 2 11 3 4 6 1 2 1 4 1 2 7 4 0 9 7 4 3 10 2 2 3 1 9 2 7 5 3 9 4 4 6 7 3 0 5 4 3 4
Linux 6 2 0 1 5 3 4 5 2 2 3 2 1 1 2 3 4 0 1 3 1 1 3 2 2 3 1 1 2 9 4 2 3 3 0 2 4 5 0 6 3 1 2 3 3 2

Readme

Source
raw.​githubusercontent.​com

Unix Build Status Package Control Downloads License

ExportHtml

This is a fork of Andrew Gibson's PrintHtml plugin. This plugin allows the exporting of a document in Sublime Text to a HTML file or to BBCode. It duplicates Sublime's theme colors and font styles.

preview

Features

  • Export to HTML using any tmTheme for syntax highlighting.
  • Can handle any language supported by ST2.
  • Supports bold and italic theme font styles as well.
  • Configurable output.
  • Format suitable for copying and pasting in emails.
  • 2 included tmTheme files for color and grayscale printing (but any can be used).
  • Export only selections (multi-select supported).
  • Export and show highlights (multi-select supported).
  • Toggle gutter on/off in browser view.
  • Automatically open browser print dialog (optional).
  • Enable/disable configurable word wrapping.
  • Configurable toolbar to appear in the generated webpage.

Documentation

http://facelessuser.github.com/ExportHtml

Credits

  • Andrew Gibson: Original idea and base code for converting Sublime view to HTML and allowing me to build off it to make ExportHtml.
  • Print-Color and Print-Grayscale tmThemes were derived from Monokai Bright.

License

ExportHtml is released under the MIT license.

Copyright © 2012 - 2018 Isaac Muse isaacmuse@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.