Emmet for Atom

Emmet is a plugin available for popular text editors that let you write HTML abbreviations without having to directly write HTML tags, instead use Emmet’s shortcuts.

It reduces the amount of HTML the user has to write and increases efficiency and saves precious time.

A simple example.

article>header  

All you have to do is hit TAB it will be parsed as.

<article>  
  <header></header>
</article>  

You can also create the default HTML5 template with:

html:5  

it will be parsed as

<html lang="en">

  <meta charset="UTF-8">
  <title>Document</title>

As you can see how much easier it is to use Emmet compared to writing HTML directly.

Emmet has officially made their plugin available for Atom editor that can be installed using APM

apm install emmet  

You can install it using the Atom plugin tab by going into the install menu and searching for emmet and installing the plugin by emmetio

Happy Coding!

You can access all the posts over Atom under atom and editor tag.

Have a question? Leave a comment below.

Leave a Reply