A simple, efficient Python tool to convert Markdown files to HTML.
- Converts headings, bold, italics, links, inline code, and paragraphs
- Generates heading IDs for internal linking
- Lightweight and ready to use from the command line
Clone the repository:
git clone https://github.com/aleemulhaq/MarkdownToHTML.gitConvert a Markdown file (input.md) to HTML:
python parser.py input.md- This will create
input.htmlin the same directory.
Specify a custom output file:
python parser.py input.md output.html- This will write the HTML output to
output.html.
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.mdContributions are welcome! Please open an issue or pull request with suggestions or improvements.
This project is licensed under the MIT License.
For questions, please open an issue in the repository.
Feel free to edit and expand the instructions as needed for your project!