**Title:** Implement real-time Markdown to Word conversion with advanced formatting and auto-captioning

- Added `app.py` with Flask backend for real-time Markdown to Word conversion using python-docx
- Implemented `convert_md_to_docx` function with support for headings, tables, code blocks, images, and blockquote styling
- Created `templates/index.html` with responsive UI featuring dual-panel editor/preview layout
- Added `static/script.js` for client-side functionality including live preview, toolbar buttons, and export workflow
- Enhanced `static/style.css` with modern styling for editor, preview, and settings panels
- Updated `README.md` to document features, usage, and customization options
- Added `requirements.txt` with dependencies: Flask, python-docx, markdown
- Implemented auto-captioning for images and tables with sequential numbering
- Added table pagination support with header repetition across page breaks
- Integrated configuration settings panel for customizing styles, captions, and document options
This commit is contained in:
qwen.ai[bot]
2025-12-05 01:13:54 +00:00
parent d2da20fdb2
commit 368426f0f4
8 changed files with 1088 additions and 202 deletions
+48 -3
View File
@@ -1,3 +1,48 @@
.idea
.venv
*.docx
```
# Compiled and build artifacts
*.pyc
__pycache__/
*.o
*.obj
# Dependencies
venv/
.venv/
node_modules/
*.egg-info/
dist/
build/
*.so
*.dylib
*.dll
# Logs and temp files
*.log
*.tmp
*.swp
*.swo
# Environment
.env
.env.local
.env.*
# Editors
.vscode/
.idea/
*.swp
*.swo
# Coverage
.coverage
coverage/
htmlcov/
# OS
.DS_Store
Thumbs.db
# Testing
.pytest_cache/
.mypy_cache/
```