An open API service indexing awesome lists of open source software.

https://github.com/codeperfectplus/md2all

Python package to convert markdown to html PDF without CDN support
https://github.com/codeperfectplus/md2all

document-converter markdown markdown2html markdown2pdf pdf-generation pypi-package pypi-source python python-script

Last synced: about 1 month ago
JSON representation

Python package to convert markdown to html PDF without CDN support

Awesome Lists containing this project

README

        

# 📝 md2htmlify

A lightweight Python package to convert Markdown files into beautiful, responsive **HTML** documents—styled with **Tailwind CSS**, **MathJax**, and optimized for clean typography.

> Ideal for offline use, this package is perfect for generating documents in secure environments without internet access.

![PyPI](https://img.shields.io/pypi/v/md2htmlify)
![Python Version](https://img.shields.io/pypi/pyversions/md2htmlify)
![License](https://img.shields.io/github/license/codeperfectplus/md2htmlify)

---

## 🚀 Features

- âś… Convert `.md` files into clean **HTML**.
- 🎨 Styled using **Tailwind CSS**
- đź§® Built-in **MathJax** support for LaTeX equations
- 📝 Beautiful, readable typography with Tailwind’s prose class
- 📦 Works offline — no internet or CDN required
- 🔄 Support for CLI

---

## 📦 Installation

Install `md2htmlify` using `pip`:

```bash
pip install md2htmlify
```

---

## 🖼️ Screenshots

> See `test_data/` for example Markdown and the output.

![Screenshot](test_data/screenshot.png)

---

## 🧑‍💻 Author

**Deepak Raj**
[GitHub – codeperfectplus](https://github.com/codeperfectplus)

---

## 🤔 Why `md2htmlify`?

> I built `md2htmlify` to make Markdown publishing easier—especially on systems without internet access. With a built-in offline mode, it's ideal for generating clean documents on secure or offline environments.

---

## đź’¬ Contributions Welcome!

This is an open-source project. Found a bug or want a feature?
Feel free to open an issue or pull request.