A SublimeText plugin to convert back and forth from HTML to embed-able lines. Particularly useful when writing or modifying HTML templates within a directive etc.
To convert from HTML to Embedable lines (or vice versa):
- Select some HTML (or embeded lines)
- Press:
OS | Key Combination |
---|---|
Linux | ctrl + alt + T |
Mac | super(⌘) + alt + ctrl + T |
Windows | ctrl + alt + T |
The easiest way to install HTML Embed
is to install it from Package Control
If you have Package Control installed, then simply naviagte to Package Control: Install Package
and select the HTML Embed
plugin and you are done!
From SublimeText Packages
folder:
git clone git@github.com:sabhiram/sublime-html-embed.git sublime-html-embed
Currently there are no exposed settings used by this plugin
Appreciate the help! Here is stuff you should probably know:
Some folks prefer to clone the git repo right into their SublimeText Packages
folder. While this is probably ok for most users, I prefer to create a symbolic link to the package so that I can point to the plugin from both flavors of SublimeText (for testing and the like...)
cd ~/dev
git clone git@github.com:sabhiram/sublime-html-embed.git sublime-html-embed
ln -s sublime-html-embed ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/sublime-html-embed
ln -s sublime-html-embed ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/sublime-html-embed
- Implements basic plugin functionality
- Ready for package control deployment