Back to skills
SKILL.md
Markdown Converter
ASecurity将Markdown转换为HTML、PDF或其他格式,支持语法高亮和自定义样式。
- 85 stars
- 0 votes
- 0 copies
- 3 views
- Added February 7, 2026
Works with
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add AIDotNet/MoYuCode --skill markdown-converter --agent claude-codeAre you the author of Markdown Converter?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/aidotnet-markdown-converter)---
name: markdown-converter
description: 将Markdown转换为HTML、PDF或其他格式,支持语法高亮和自定义样式。
metadata:
short-description: 转换Markdown文件
source:
repository: https://github.com/Python-Markdown/markdown
license: BSD-3-Clause
---
# Markdown Converter Tool
## Description
Convert Markdown documents to HTML, PDF, and other formats with support for syntax highlighting, tables, and custom CSS.
## Trigger
- `/markdown` command
- User needs to convert Markdown
- User wants to render documentation
## Usage
```bash
# Convert to HTML
python scripts/markdown_converter.py README.md --format html --output README.html
# Convert to HTML with syntax highlighting
python scripts/markdown_converter.py code.md --format html --highlight
# Convert with custom CSS
python scripts/markdown_converter.py doc.md --format html --css style.css
# Convert to PDF (requires weasyprint)
python scripts/markdown_converter.py doc.md --format pdf --output doc.pdf
# Convert multiple files
python scripts/markdown_converter.py *.md --format html --output-dir ./html/
```
## Tags
`markdown`, `html`, `pdf`, `converter`, `documentation`
## Compatibility
- Codex: ✅
- Claude Code: ✅
Files in this skill
- SKILL.md
- scripts/markdown_converter.py
Attribution
Comments
Loading comments…