Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tadatuta/atom-bemmet

Atom plugin for bemmet
https://github.com/tadatuta/atom-bemmet

Last synced: 30 days ago
JSON representation

Atom plugin for bemmet

Awesome Lists containing this project

README

        

# atom-bemmet package

Atom plugin for [bemmet](https://github.com/tadatuta/bemmet).

## How to use

To convert an abbreviation to BEMJSON press `shift-cmd-C` for Mac and 'shift-ctrl-C' for Windows.

For example, this abbreviation

```
menu>__item*2>link_theme_islands
```

will be transformed into

```
{
block: 'menu',
content: [
{
block: 'menu',
elem: 'item',
content: {
block: 'link',
mods: {
theme: 'islands'
},
content: {}
}
},
{
block: 'menu',
elem: 'item',
content: {
block: 'link',
mods: {
theme: 'islands'
},
content: {}
}
}
]
}
```