Atom snippets for a variety of icon fonts (see details).
Converted from the package for Sublime Text.
- Install package
apm install icon-fonts
(or use the GUI)
- Change directory to
~/.atom/packages/
- Clone repository
git clone https://github.com/idleberg/atom-icon-fonts.git
Snippets are limited to the .text.html
scope. Typing the class name of an icon using the designated prefix will complete to a tag containing the icon class. Exceptions are fa-stack
(<span>
) and fa-ul
(<ul>
).
Prefix | Icon Font | Version |
---|---|---|
ai |
Android Icons | 1.0.0 |
brandico |
Brandico Font | – |
cc |
Creative Commons Icon Font | 1.2.1 |
el-icon |
Elusive Icons | ? |
fa |
Font Awesome | 4.4.0 |
fi |
Foundation Icons | 3.0 |
foundico |
Foundation Icons | 1.0 |
glyphicon |
Bootstrap Glyphicons | 3.3.5 |
line |
Elegant Theme Line Icons | – |
mfg |
MFG Labs Iconset | – |
octicon |
GitHub Octicons | 2.4.1 |
openwebicons |
OpenWeb Icons | ? |
pf |
PaymentFont | 1.1.2 |
ratchicon |
Ratchicons | 2.0.2 |
oi |
Open Iconic | 1.1.0 |
st |
Stack Icons | ? |
typicon |
Typicons | 2.0.7 |
ui |
Semantic UI Icons | 2.0.7 |
Examples:
fa-check
+Tab
completes to<i class="fa fa-check"></i>
glyphicon-check
+Tab
completes to<span class="glyphicon glyphicon-check"></span>
octicon-check
+Tab
completes to<span class="octicon octicon-check"></span>
- well, you get the idea
This work is licensed under the The MIT License.
You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd