Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>language-bemhtmlNew to Visual Studio Code? Get it now.
language-bemhtml

language-bemhtml

sysoev

|
1,286 installs
| (0) | Free
Language support for BEMHTML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BEMHTML Language support for Visual Studio Code

BEMHTML

BEMHTML

Adds BEMHTML syntax highlighting and snippets for Visual Studio Code.

Converted from: https://github.com/jchouse/bemhtml

Snippets

block b -> block blockName,

block b: -> block: 'blockName',

elem e -> elem elemName,

elem e: -> elem: 'elemName',

block + elem be -> block blockName, elem elemName,

mod m -> mod modName modValue,

mods m: -> mods: { modName: 'modValue' },

elemMod em -> elemMod modName modValue,

elemMods em: -> elemMods: { modName: 'modValue' },

mix mi: -> mix: [ { block: blockName } ]

content c: -> content: [ { ... } ]

js js: -> js: { ... }

tag t: -> tag: 'tagName',

attrs a: -> attrs: { ... }

cls cl: -> cls: 'className',

bem: false bf: -> bem: false

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft