Skip to content

Brackets extension to copy code to the clipboard with full color syntax highlighting

Notifications You must be signed in to change notification settings

peterflynn/copy-as-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

"Copy as HTML" for Brackets

Copy code to the clipboard with full color syntax highlighting preserved (assuming you're pasting into something that supports HTML-formatted text, such as Outlook or GMail). Works with any language Brackets supports.

To use, choose Edit > Copy as Colored HTML. Due to runtime limitations, you still must explicitly press Ctrl+C on the next screen to place the text onto the clipboard.

If you have some text selected, you'll get just that text. If you have no selection, you'll get the entire file.

How to Install

Copy as HTML is an extension for Brackets, a new open-source code editor for the web.

To install extensions:

  1. Choose File > Extension Manager and select the Available tab
  2. Search for this extension
  3. Click Install!

License

MIT-licensed -- see main.js for details.

Compatibility

Brackets Sprint 15 or newer (or Adobe Edge Code Preview 2 or newer).

About

Brackets extension to copy code to the clipboard with full color syntax highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published