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

Installs

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

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.