Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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:
```




```