Skip to content

Issue: 9 - Adding new feature that support -c and --config with Config file

License

Notifications You must be signed in to change notification settings

sshah135/Text-To-HTML

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

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

Issue: 9 - Adding new feature that support -c and --config with Config file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.3%
  • HTML 18.7%