Skip to content

aleemulhaq/Markdown-to-HTML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Markdown to HTML parser

A simple, efficient Python tool to convert Markdown files to HTML.

Features

  • Converts headings, bold, italics, links, inline code, and paragraphs
  • Generates heading IDs for internal linking
  • Lightweight and ready to use from the command line

Installation

Clone the repository:

git clone https://github.com/aleemulhaq/MarkdownToHTML.git

Usage

Command-line Conversion

Convert a Markdown file (input.md) to HTML:

python parser.py input.md
  • This will create input.html in the same directory.

Specify a custom output file:

python parser.py input.md output.html
  • This will write the HTML output to output.html.

Example

Given example.md:

# Welcome

This is an **example** using *Markdown*.

See the [project](https://github.com/aleemulhaq/MarkdownToHTML).

Convert to HTML:

python parser.py example.md

Contributing

Contributions are welcome! Please open an issue or pull request with suggestions or improvements.

License

This project is licensed under the MIT License.

Contact

For questions, please open an issue in the repository.


Feel free to edit and expand the instructions as needed for your project!

About

Markdown to html parser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages