Giter Club home page Giter Club logo

the-great-site-generator's Introduction

The Great Site Generator

Actually jsut another site generator that allows you to generate static sites based off of text data.

Features

Input

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.

Examples

File Input

This will take the content from the text file and output a HTML file.

    ./tgsg -i sample.txt
Directory Input

This will go though a directory named sample and look for .txt files.

    ./tgsg -i sample

Auto-Add Title

This feature automatically creates an h1 tag for the first line if there are two empty lines following the first line.

Markdown

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.

Example

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

Language Tag

This feature allows the user to input an html language tag. The default language is English-Canadian.

Example

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

the-great-site-generator's People

Contributors

drew5494 avatar luigizaccagnini avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.