문서로 내보내기
export_documentSave markdown with math, images, and tables as PDF, DOCX, or PPTX, including cheatsheet, exam, and flashcard layouts; PDFs return a first-page preview.
Instructions
Save markdown (math $...$, images , tables) as pdf, docx or pptx; pdf returns a first-page preview.
Example: {"markdown": "## Summary\n$t=\sqrt{2h/g}$", "format": "pdf", "title": "Mechanics"}
pptx: each ## heading is a slide. layout: cheatsheet (one A4 page, pdf), exam (## problems, then a # 정답과 해설 or # Answers heading), flashcards (2-column table, pdf).
On failure: follow errors; for TeX errors fix the math shown in the ! line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name (default: title) | |
| title | No | ||
| format | No | ||
| layout | No | document | |
| markdown | Yes |