atom-bemmet

Atom plugin for bemmet

Vladimir Grinenko

4,348

2

2.0.0

MIT

GitHub

atom-bemmet package

Atom plugin for bemmet.

How to use

To convert an abbreviation to BEMJSON press shift-cmd-C.

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: {}
            }
        }
    ]
}