Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-17T02:30:23.000Z (over 7 years ago)
- Last Synced: 2024-10-11T23:21:12.434Z (about 1 month ago)
- Topics: bem-methodology, pug
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- 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:
```
```