0.1.0 • Published 6 years ago
stoh v0.1.0
STOH
Simple Text to HTML. STOH is a simple language that complies to a HTML template.
Get Started
Now, You are in the very first version of STOH. the CLI hasn't implemented yet. You can start compile .st code by using command, 1. Get in your input directory and create your .st file (Eg, index.st) 2. run stoh,
node dist/stoh.js <file-input-name>.st <file-output-name>.html
How does It look like?
STOH,
var title="STOH| Simple Text to HTML";
html{
head{
title{&title}
}
body{
p{;Hello World}
}
}
Complied HTML,
<html>
<head>
<title>
STOH | Simple Text to HTML
</title>
</head>
<body>
<p>
Hello World
</p>
</body>
</html>
0.1.0
6 years ago