text-ssg-tool v1.0.4
text-ssg-tool
A Cli tool reading an file with text and converting to an out file in html using Node.js.
Installation
Install the dependencies:
npm iUsage
To get a list of options type "text-ssg-tool" followed by -h. For any of the commands listed below in the help menu type in "text-ssg-tool" before the command.
Options
node src/index.js --helpornode src/index.js -hto display the usage informationRun
node src/index.js --versionornode src/index.js -vto display the tool name and versionRun
node src/index.js -i [name of the file]to convert file from markdown or text to html.Run
node src/index.js -l [language] -i [name of the file]to convert file from markdown or text to html.Run
node src/index.js -i [name of the file] -l [language]to convert file from markdown or text to html.
Examples
node src/index.js -i input/inputMD.md(convert a markdown file inside input folder into html)node src/index.js -i input/text.txt(convert a text file inside input folder into html)node src/index.js -i input/Sherlock-Holmes-Selected-Stories(convert all files inside input folder inside Sherlock-Holmes-Selected-Stories into html)node src/index.js -l fr -i input/Sherlock-Holmes-Selected-Stories(convert all files inside input folder with french language inside Sherlock-Holmes-Selected-Stories into html)node src/index.js -i input/Sherlock-Holmes-Selected-Stories -l fr(convert all files inside input folder with french language inside Sherlock-Holmes-Selected-Stories into html)
Test Site
https://ivan-text-ssg-tool.netlify.app/License
[**MIT License**](https://choosealicense.com/licenses/mit/)