This application is a command-line tool designed to convert Markdown files to HTML format. It can be used for quickly and conveniently generating HTML code from text written in Markdown format.
- Clone the repository to your local machine:
git clone https://github.com/radichenko/mtrpz_lab1.git- Open a terminal and navigate to the root directory of the project:
cd mtrpz_lab1- Run the command
npm installto install the necessary dependencies:
npm install- Execute the program using one of the commands:
node index.js test.md node index.js test.md --out out.htmlIt will convert Markdown to HTML. If only the input file path is specified, the HTML will be outputted to the console.