Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/facelessuser/ExportHtml
Sublime Text - Export code to HTML for copying/printing/saving.
https://github.com/facelessuser/ExportHtml
Last synced: about 2 months ago
JSON representation
Sublime Text - Export code to HTML for copying/printing/saving.
- Host: GitHub
- URL: https://github.com/facelessuser/ExportHtml
- Owner: facelessuser
- License: other
- Fork: true (agibsonsw/PrintHtml)
- Created: 2012-04-10T12:42:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-06-30T13:57:17.000Z (about 1 year ago)
- Last Synced: 2024-05-08T18:13:50.821Z (4 months ago)
- Language: Python
- Homepage: https://facelessuser.github.io/ExportHtml
- Size: 3.29 MB
- Stars: 192
- Watchers: 15
- Forks: 31
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGES.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
[![Donate via PayPal][donate-image]][donate-link]
[![Discord][discord-image]][discord-link]
[![Build][github-ci-image]][github-ci-link]
[![Package Control Downloads][pc-image]][pc-link]
![License][license-image]
# ExportHtmlThis is a fork of [Andrew Gibson](https://github.com/agibsonsw)'s [PrintHtml](https://github.com/agibsonsw/PrintHtml)
plugin. This plugin allows the exporting of a document in Sublime Text to a HTML file. It duplicates Sublime's theme
colors and font styles.![preview](docs/src/markdown/images/preview.png)
# Features
- Export to HTML using any `tmTheme` or `sublime-color-scheme` for syntax highlighting.
- Can handle any language supported by ST3+.
- Supports bold and italic theme font styles as well.
- Configurable output.
- Format suitable for copying and pasting in emails.
- 2 included `sublime-color-scheme` 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
https://facelessuser.github.io/ExportHtml
# Credits
- [Andrew Gibson](https://github.com/agibsonsw): 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 `sublime-color-scheme` files were derived from Monokai Bright.# License
ExportHtml is released under the MIT license.
[github-ci-image]: https://github.com/facelessuser/ExportHtml/workflows/build/badge.svg?branch=master&event=push
[github-ci-link]: https://github.com/facelessuser/ExportHtml/actions?query=workflow%3Abuild+branch%3Amaster
[discord-image]: https://img.shields.io/discord/678289859768745989?logo=discord&logoColor=aaaaaa&color=mediumpurple&labelColor=333333
[discord-link]: https://discord.gg/TWs8Tgr
[pc-image]: https://img.shields.io/packagecontrol/dt/ExportHtml.svg?labelColor=333333&logo=sublime%20text
[pc-link]: https://packagecontrol.io/packages/ExportHtml
[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?labelColor=333333
[donate-image]: https://img.shields.io/badge/Donate-PayPal-3fabd1?logo=paypal
[donate-link]: https://www.paypal.me/facelessuser