Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 686 Bytes

File metadata and controls

22 lines (16 loc) · 686 Bytes

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