title: Stylq
published: true
description: Stylq is the cool syntax HTML Preprocessor. Stylq will allow user to make HTML file more easily. Stlyq is the Rich Syntax file to generator HTML file in the easy way. Stylq is the easy readable and writable.
Usage and Example
var stylq = require('stylq');
stylq.process('sample.stylq');
To Send to another location
stylq.processAndSend('sample.stylq','targetFileName.html');
Here is the sample file that is given as input.
//sample.stylq
html{
head{
title{
The Title of the Page
}
}
body{
h1{
This is header
}
p id="paragraph-id"{
This is paragraph
}
h2 style="color: blue;" id="heading-line"{
The Multi attributes
}
}
}
Top comments (0)