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
  • 3 weeks ago
  • 17 minutes ago
  • 6 years ago

Installs

  • Total 38K
  • Win 24K
  • OS X 10K
  • Linux 4K
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 3 13 11 4 17 11 17 16 7 6 5 15 12 4 14 11 5 9 7 10 18 7 6 4 10 12 11 6 9 4 7 3 14 8 14 13 11 18 17 10 22 10 17 14 5 13
OS X 1 14 3 5 5 7 4 7 2 4 4 6 5 8 7 4 3 2 9 7 3 3 1 2 1 1 7 1 3 4 2 0 5 5 3 8 6 2 3 9 5 5 6 6 3 5
Linux 3 5 0 2 1 0 2 5 1 5 1 1 2 3 3 3 1 0 5 2 7 0 1 2 1 1 1 3 0 1 1 2 0 3 3 2 2 2 1 3 2 4 3 6 6 0

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.