Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tadatuta/sublime-bemmet
Sublime Text plugin for bemmet
https://github.com/tadatuta/sublime-bemmet
Last synced: 30 days ago
JSON representation
Sublime Text plugin for bemmet
- Host: GitHub
- URL: https://github.com/tadatuta/sublime-bemmet
- Owner: tadatuta
- Created: 2015-08-02T22:28:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-05T02:52:04.000Z (over 8 years ago)
- Last Synced: 2024-10-05T08:41:00.175Z (about 1 month ago)
- Language: Python
- Homepage: http://tadatuta.github.io/bemmet/
- Size: 353 KB
- Stars: 9
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sublime-bemmet
> Sublime plugin to expand [bemmet](https://github.com/tadatuta/bemmet) abbreviation into [BEMJSON](https://en.bem.info/technology/bemjson/).
## Install
Install `bemmet` with [Package Control](https://sublime.wbond.net) and restart Sublime.
**You need to have [Node.js](http://nodejs.org) installed.**
Make sure it's in your `$PATH` by running `node -v` in your command-line.
On OS X you need to make sure it's in `/usr/local/bin` or symlink it there.## Getting started
In a BEMJSON file, open the Command Palette *(Cmd+Shift+P)* and choose `Expand bemmet abbreviation`. You can alternatively create one or more selections before running the command to only expand those parts.
### Keyboard shortcut
You can set up a keyboard shortcut to run the command by opening up "Preferences > Key Bindings - User" and adding your shortcut with the `bemmet` command.
Example:
```json
[
{ "keys": ["super+b"], "command": "bemmet" }
]
```## License
MIT © [Vladimir Grinenko](https://github.com/tadatuta/)