Markdown Converter
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @zcwl/markdown-converter.
About this skill
Problem to Solve
In document processing pipelines, converting unstructured or semi-structured files like PDF, Word, Excel, and PowerPoint into Markdown is a common need for feeding LLMs, generating static sites, or version control. Traditional approaches often require setting up Python environments and managing dependencies, with varying parsing rules that can easily break the original heading levels, tables, and list structures.
How It Works
This skill executes conversion directly via uvx markitdown, eliminating the need for pre-installed dependencies. It supports a wide range of formats:
- Office documents: PDF, .docx, .pptx, .xlsx/.xls
- Web & data: HTML, CSV, JSON, XML
- Media & others: Images (EXIF + OCR), audio transcription, ZIP iteration, YouTube URLs, EPub
During conversion, the output preserves the original document structure as much as possible, including headings, tables, lists, and links. On the first run, uvx caches the dependencies, making subsequent executions faster. For complex PDFs with poor text extraction, the documentation suggests using the -d flag to integrate Azure Document Intelligence for enhanced parsing.
Boundaries and Caveats
This skill is ideal for quickly converting files into Markdown text but does not guarantee perfect layout preservation for all complex PDFs. If dealing with heavily formatted documents, scanned pages, or content dense with charts, direct conversion may result in structural errors or missing information. In such cases, integrating external OCR or layout analysis services like Azure Document Intelligence is necessary. Additionally, it focuses on text-based conversion and is not designed for deep reorganization of binary resources.
Use Cases
- Convert customer PDF quotations into Markdown for importing into a knowledge base.
- Unify Excel sheets, CSV files, and JSON configuration notes into Markdown for documentation sites.
- Extract EXIF and image text from image assets into Markdown for archival.
- Convert EPub books and HTML webpages into Markdown for LLM summarization.
Best For
- Legal assistants who need to turn contracts, quotations, and meeting notes into searchable text.
- Consultants who package product manuals, slide decks, and Excel metric tables into Markdown docs.
- AI engineers who process image captions, audio transcripts, and web assets into RAG corpora.
- Technical writers who convert EPub, HTML, and CSV data notes into documentation site content.
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Generates structured and consistently styled academic presentation PPTX files from paper PDFs for graduate seminars.