Skip to content

Latest commit

 

History

History

Markdown_To_HTML

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Markdown To HTML

This script converts a markdown file to its corresponding html file

Setup instructions

  • Replace the contents of the file markdown.md with markdown content of your choice. This will be the input for this script
  • Enter the following commands in the terminal:
    • cd Rotten-Scripts\JavaScript\Markdown_To_HTML
    • npm install to install the dependencies required
    • node script.js to run the script

Output

A file index.html will be generated as output on running the script

Input File Example:

Input

Corresponding Output File Example:

Output

Author

Nehal Sharma