Actually jsut another site generator that allows you to generate static sites based off of text data.
The -i or --input
flag means the input path. This will look for all texts files
within the folder. You can provide a .txt file or a directory.
This is a required field for the program to work.
This will take the content from the text file and output a HTML file.
./tgsg -i sample.txt
This will go though a directory named sample and look for .txt files.
./tgsg -i sample
This feature automatically creates an h1
tag for the first line if there are two empty lines following the first line.
This feature allows the user to input markdown files for conversion into HTML. As of right now the only supported markdown feature is the #/h1 element.
Navigate to the folder with the main.cpp through terminal. Enter the following command to allow for Markdown processing.
./tgsg -m ./PATH_TO_MARKDOWN_FILE
In the file, have the proper syntax for Markdown for header one components:
# HELLO WORLD
This feature allows the user to input an html language tag. The default language is English-Canadian.
Navigate to the folder with the main.cpp through terminal. Enter the following command to specify a language. -l
or --lang
is acceptable.
./tgsg -i sample.txt -l fr