https://github.com/khalidhoffman/pug-bem-lexer
A plugin that adds BEM shortcuts to pug
https://github.com/khalidhoffman/pug-bem-lexer
bem-methodology pug
Last synced: 4 days ago
JSON representation
A plugin that adds BEM shortcuts to pug
- Host: GitHub
- URL: https://github.com/khalidhoffman/pug-bem-lexer
- Owner: khalidhoffman
- License: mit
- Created: 2016-09-29T03:47:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T02:30:23.000Z (about 8 years ago)
- Last Synced: 2025-04-20T04:03:39.564Z (29 days ago)
- Topics: bem-methodology, pug
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pug-bem-lexer
A plugin that adds BEM shortcuts to pug
# This repo has been deprecated in favor of [pug-bemify](https://github.com/khalidhoffman/pug-bemify)
## Installation
run `npm i pug-bem-lexer`## Setup
```
pug.render(somePugString, {
plugins : [
{
lex : require('pug-bem-lexer')
}
]
});
```## Example Usage
```
.block.-a-modifier
._some-element
```
renders:
```
```