267662bae731edfdb7b759a6bc8fbc88366b1a05 — Korneliusz Łapacz 1 year, 3 months ago 8965cdc master
more docs
1 files changed, 33 insertions(+), 0 deletions(-)

M README.md => README.md +33 -0
@@ 22,3 22,36 @@ npm run build
sudo make install

## Usage

usage: emmet 'emmet-abbreviation'

For example
emmet 'html:5>h1{Hello}+p>lorem'

will return
<!DOCTYPE html>
<html lang="en">
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veniam repellendus excepturi ullam, deserunt hic nisi facilis? Optio facilis asperiores, suscipit, cupiditate eum neque odio iure earum nisi ut id similique!</p>

Checkout [emmet documentation](https://docs.emmet.io/) for more examples.

## Tips

You can insert `emmet-cli` output to vim with `:read !emmet '…'` and to [vis](https://git.sr.ht/~martanne/vis) with `:< emmet '…'`