# emoji-code
[![The MIT License](https://img.shields.io/badge/license-MIT-orange.svg?style=flat-square)](http://opensource.org/licenses/MIT)
[![Package Control](https://packagecontrol.herokuapp.com/downloads/Emoji%20Code.svg?style=flat-square)](https://packagecontrol.io/packages/Emoji%20Code)
[![GitHub release](https://img.shields.io/github/release/idleberg/sublime-emoji-code.svg?style=flat-square)](https://github.com/idleberg/sublime-emoji-code/releases)
[![Travis](https://img.shields.io/travis/idleberg/sublime-emoji-code.svg?style=flat-square)](https://travis-ci.org/idleberg/sublime-emoji-code)
Sublime Text completions to insert escaped Emoji code into HTML, CSS, JavaScript, Python, Ruby and Svelte.
![Screenshot](https://raw.github.com/idleberg/sublime-emoji-code/master/screenshot.gif)
*Screenshot nicked from the [Atom package](https://atom.io/packages/emoji-code), sorry!*
## Usage
All emojis are prefixed with `ji`, following the string of the official [Unicode terminology](unicode.org/emoji/charts/full-emoji-list.html).
**Examples:**
Let's say, you want to insert the š emoji
* HTML: `ji:grinning-face` becomes `😀`
* CSS: `ji:grinning-face` becomes `content: '\1F600';`
* JavaScript: `ji:grinning-face` becomes `u\1F600`
* Ruby: `ji:grinning-face` becomes `\u{1F600}`
Keep in mind that Sublime Text supports fuzzy completion, inviting you to use abbreviation of your preference.
## Installation
### Package Control
1. Make sure you already have [Package Control](https://packagecontrol.io/) installed
2. Choose *āInstall Packageā* from the Command Palette (Super+Shift+p)
3. Type *āEmoji Codeā* and press Enter
With [auto_upgrade](http://wbond.net/sublime_packages/package_control/settings/) enabled, Package Control will keep all installed packages up-to-date!
There's also a collection of [Sublime Text Packages](https://github.com/NSIS-Dev/Sublime-Text-Packages) available as a Windows installer.
### Manual installation
Since [package dependencies](https://packagecontrol.io/docs/dependencies) are handled by Package Control, manual installation is not advised! If you still want to install from source, you probably know what you are doing so we wonāt cover that here.
## License
This work is licensed under the [The MIT License](LICENSE.md).