Skip to content

Jilesh980/Text-To-HTML

Repository files navigation

TEXT-TO-HTML-CONVERTER

This is a command-line tool that helps to convert a simple text file or multiple files to HTML files.

Installation

  1. To clone the repository to your local machine, run the following command:
git clone https://github.com/Jilesh980/till-tool.git
cd till-tool
  1. Install the required dependencies for the project:
npm install
  1. Command to display the version of tool
node src/index.js -v
node src/index.js --version
  1. The command to display help menu:
node src/index.js -h
node src/index.js --help
  1. Command to convert .txt or .md file to HTML file using config -c
node src/index.js process ./inputfile.txt -c ./outputfile

USAGE

  1. converts one or multiple text files to HTML files.
  2. Output will be stored in the same directory.
  3. Automatically parses title from the text files.

Run the code in the terminal to generate the desired output:

node src/index.js process ./file-name.txt

This is the command if you want to convert .md file to .html file.

node src/index.js process ./file-name.md

If you want to use bold feature of .md file than follow this command "** Some Text**"

##Features

  1. Converts one or multiple text files to HTML files.
  2. The output will be stored in the same directory as the source text file.
  3. Automatically parses the title from the text files.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •