Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:03:12 +08:00
commit bc9ae138e4
28 changed files with 7069 additions and 0 deletions

41
commands/convert.md Normal file
View File

@@ -0,0 +1,41 @@
---
description: Convert markdown to PDF/DOCX/HTML with validation
argument-hint: <input> <output> [options]
allowed-tools: Bash, Read
disable-model-invocation: true
---
# /pandoc:convert - Convert Document
Ask Claude to validate and convert your markdown file.
## Quick Reference
**Basic conversions:**
```bash
pandoc document.md -o document.pdf
pandoc document.md -o document.html --standalone
pandoc document.md -o document.docx
```
**With citations:**
```bash
pandoc paper.md -o paper.pdf --citeproc --number-sections
```
**Custom options:**
```bash
pandoc doc.md -o doc.pdf --pdf-engine=xelatex -V geometry:margin=1.5in
```
## Common Issues
- Missing LaTeX: `sudo dnf install texlive-scheme-medium`
- Unicode errors: Use `--pdf-engine=xelatex`
- Citations not showing: Add `--citeproc` flag
## Ask Claude
"Validate and convert paper.md to PDF with citations"
"Convert this document to HTML with table of contents"
"Help me convert to PDF - it's giving errors"