Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tadatuta/atom-bemmet
- Owner: tadatuta
- License: mit
- Created: 2015-07-30T23:21:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-11T09:34:46.000Z (almost 8 years ago)
- Last Synced: 2024-10-05T08:41:51.762Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://tadatuta.github.io/bemmet/
- Size: 9.77 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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: {}
}
}
]
}
```