Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.25 KB

File metadata and controls

58 lines (39 loc) · 1.25 KB

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

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.