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

Export​Html

by facelessuser ST2/ST3

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

Details

  • 3 2.12.1
    2 1.2.0
  • github.​com
  • github.​com
  • 4 months ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 40K
  • Win 25K
  • OS X 11K
  • Linux 4K
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 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
Windows 9 14 17 16 13 13 6 13 12 12 22 12 14 7 13 13 12 14 10 11 2 8 6 13 17 15 7 6 7 10 11 16 15 10 9 10 12 11 19 15 4 4 11 22 14 29
OS X 6 7 2 8 9 3 3 4 5 12 7 11 2 10 9 7 2 3 6 3 3 0 3 3 3 5 2 5 6 5 8 3 8 2 4 3 8 7 2 7 2 4 3 5 4 6
Linux 3 2 1 2 1 1 1 4 5 4 3 10 1 0 3 5 1 5 6 1 1 2 3 3 3 3 3 0 4 3 7 4 3 3 0 0 1 3 2 1 1 1 3 1 4 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.