dotemmet
render .emmet
to .html
Demo
input
html
head
title{.emmet test}
body
.container
h1.title{Hello, world!}
lo
li{is better}*3
.demo
h${This is h$ tag}*6
lorem
table.tb[style='border: 1px solid black;']
tbody
tr
td{a}
td{b}
td{c}
tr
td{$}*3
output
.emmet test Hello, world! is better is better is better This is h1 tag This is h2 tag This is h3 tag This is h4 tag This is h5 tag This is h6 tag Lorem ipsum dolor sit amet consectetur, adipisicing elit. Aut, totam expedita? Ex inventore incidunt a accusamus eligendi rem iusto minus optio? Nam ad eveniet blanditiis beatae id similique laudantium iusto. a b c 1 2 3
installation
use npm
npm -g install dotemmet
or use yarn (highly recommend)
yarn global add dotemmet
usage
Usage: dotemmet SOURCE [options...]
or: dotemmet SOURCE DEST [options...]
Render .emmet file(SOURCE) to .html file(DEST)
==options==
-h --help: print this help message
-w --watch: watching SOURCE file and render at saving
==examples==
dotemmet : render index.emmet file to index.html
dotemmet source.emmet : render source.emmet file to source.emmet.html
dotemmet source.emmet rendered.html : render source.emmet file to rendered.html