Skip to content

n1tik91/Markdown-to-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Markdown to HTML Converter

This is a simple Go program that converts Markdown files (.md) to HTML file (.html) .

How It Works

  • The program reads a Markdown file.
  • It converts the content to HTML.
  • It saves the converted HTML in a new file.

Requirements

  • Go (version 1.18 or later) needs to be installed.

Setup

  1. Install Go: If you don't have Go installed, you can download it from here.

  2. Clone the project:

    git clone https://github.com/n1tik91/Markdown---HTML.git
    cd Markdown---HTML

Install the necessary package:

Run this command to install the blackfriday package:

go get github.com/russross/blackfriday/v2

How to Use

Run the program by typing:

  1. go run main.go 
  2. go run main.go Markdownfile.md

The program will create a new .html file with the same name as your Markdown file (e.g., Markdownfile.md.html).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages