[Atom][Visual Studio Code] Font Awesome Shortcut/Snippet!

"Font Awesome": {
        "prefix": "fa",
        "body": [
            "<i class=\"fa fa-$2\" aria-hidden=\"true\"></i>"
        ],
        "description": "Font Awesome template - just add the icon name!"
    }

 

You then just have to type “fa” to have the Font Awesome default line to appear, and then fill the icon name.

 

fa
<i class=\"fa fa-[HERE!]" aria-hidden=\"true\"></i>
<i class=\"fa fa-chevron-down" aria-hidden=\"true\"></i>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: