Grass FreeHTML Parser is a parser for FreeHTML.
FreeHTML is a markup language which is first mentioned and made by Aroton Studio. The purpose of FreeHTML is to make writing web pages easier. For example, you just need to write <html5> instead of <!DOCTYPE html>.
If you just need to parse one page, you can use:
gfp [Page Path] [Output Path]For example
gfp ./text.fht ./text.htmlThen, you will see text.html in your folder.
Sometimes we want to parse many pages, and it is inefficient to parse one by one. We can create a file named fhtconfig.json. Content like:
[
{
"in":"FHT Path",
"out":"Output Path"
},
{
"in":"FHT Path",
"out":"Output Path"
}
]There is a optional option called compress. The type of compress is bool. If this option is true, the output document will be compressed. Content like:
[
{
"in":"FHT Path",
"out":"Output Path",
"compress":true
}
]Then, you just need to enter:
gfpThen, your pages will be parsed in a few moments.

