Markdown to HTML
Convert Markdown files to HTML.
Features
- Convert headers (H1, H2, H3)
- Format bold and italic text
- Convert links
- Format inline and block code
- Generate complete HTML document
- Pure Python, no external dependencies
Supported Markdown Elements
| Markdown | HTML |
|---|---|
| # Header | |
| ## Header | |
| ### Header | |
| bold | bold |
| italic | italic |
code |
code |
| text | text |
Usage
python3 scripts/md_to_html.py --file readme.md
Example
Input (readme.md):
# My Project
This is **bold** and *italic* text.
[Visit example.com](https://example.com)
Output: Complete HTML document with proper formatting.
出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果
