Simple Text to HTML. STOH is a simple language that complies to a HTML template.
Due to the mess of unorganized code, long-time inactivitiy of project, and no reasons of being useful, the author can no longer implement the project and has no choice but to let this project be achieved.
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,
- Get in your input directory and create your .st file (Eg, index.st)
- run stoh,
node dist/stoh.js <file-input-name>.st <file-output-name>.html
var title="STOH| Simple Text to HTML";
html{
head{
title{&title}
}
body{
p{;Hello World}
}
}
<html>
<head>
<title>
STOH | Simple Text to HTML
</title>
</head>
<body>
<p>
Hello World
</p>
</body>
</html>