Skip to content

Commit 25b4b04

Browse files
Add initial implementation of mdconvertor-tools package with Markdown to HTML conversion
1 parent c31f5a3 commit 25b4b04

14 files changed

Lines changed: 1145 additions & 1 deletion

File tree

README.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
# mdconvertor
1+
# 📝 Mdconvertor Tools
2+
3+
A minimal Python package to convert Markdown files to clean, responsive **HTML** with **Tailwind CSS**, **MathJax**, and beautiful typography.
4+
5+
> Ideal for note-taking, documentation, and publishing markdown content as styled web pages.
6+
7+
![PyPI](https://img.shields.io/pypi/v/mdconvertor-tools)
8+
![Python Version](https://img.shields.io/pypi/pyversions/mdconvertor-tools)
9+
![License](https://img.shields.io/github/license/codeperfectplus/mdconvertor-tools)
10+
11+
---
12+
13+
## 🚀 Features
14+
15+
- 🧪 Convert `.md` files into HTML
16+
- 🎨 Built-in support for **Tailwind CSS**
17+
- 🧮 Renders LaTeX/Math using **MathJax**
18+
- ✨ Applies prose styling for readability
19+
- 🗂 Outputs to your desired directory
20+
21+
---
22+
23+
## 📦 Installation
24+
25+
```bash
26+
pip install mdconvertor-tools
27+
```
28+
29+
30+
## Upcoming Features
31+
32+
- 📜 Support for custom CSS
33+
- Support for PDF generation
34+
- Support for custom themes
35+
- Support for custom fonts

main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import os
2+
from mdconvertor_tools import transform
3+
4+
md_path = "test.md"
5+
transform(md_path, output_format="html")

mdconvertor_tools/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from mdconvertor_tools.md_to_html import transform
2+
3+
__all__ = [
4+
"transform",
5+
]

0 commit comments

Comments
 (0)