Stimule / STML
A simple html preprocessor made with nodejs, making It for fun
Overview
The above piece of stml syntax will result in:
< < < </ < < </</
How to install it?
npm:
$ npm install stimule -g
if you downloaded the project from github:
$ cd name/of/the/project$ npm install -g
How to use it?
Via command line version:
$ cd where/the/stmlfile/is$ stimule <input_file> [output_file]
You have to call stimule command with two parameters:
-
input_file
#required
: should be a stml file -
output_file
#optional
: the name/path for the output html file, defaults to the name of input_file