This is VS Code extension for BEMMET. Simple Emmet-like tool to expand abbreviations into BEMJSON.
Here you can see what this extension actually does.
For example, you have this this abbreviation:
menu>__item*2>link_theme_islands
Select it, press Alt+B, and it will be transformed into BEMJSON:
{
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: {}
}
}
]
}
You can install this extension via ext install bemmet
- Write abbreviation.
- Select it.
- Press Alt+B or choose 'bemmet: convert' command.
- Your abbreviation will be replaced by BEMJSON.
Initial release of vscode-bemmet, contains only basic functionality:
- press Alt+B or choose 'bemmet: convert' command to expand abbreviations into BEMJSON