Skip to content

hlavu/mh-ssg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mh-ssg

A simple static site generator that converts text files into HTML files

Features

  • Allows input of a single text file
  • Allows input of a directory containing text file(s)
  • Supports custom stylesheet
  • Supports user-specified output folder
  • Converts first line of text file into title

Installation

1.   Clone the project
2.   npm i -g

Help

Usage: mh-ssg -i <filename> -o <outputpath> -s <stylesheet>

Options:
  -h, --help        Show help                                          [boolean]
  -i, --input       Specify input file or input folder (required)        [array]
  -o, --output      Specify output path                                  [array]
  -s, --stylesheet  Specify stylesheet for html file      [string] [default: ""]
  -v, --version     Show version number                                [boolean]

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%