Write homework and lab reports in Markdown, export to PDF

Quick answer

Markdown is a quick way to write assignments: headings for sections, tables for data, $ … $ for math and code blocks for code. Open the MarkPDF homework/report template, fill it in, check the preview and download the PDF to submit.

Markdown you'll use in a report

# The Effect of Light on Plant Growth

**Course:** Biology 101 · **Student:** Jamie Lee

## 3. Results

| Light per day | Avg. height after 21 days |
|---------------|---------------------------|
| 4 h | 6.2 cm |
| 8 h | 11.8 cm |

Growth rate: $r = \frac{h_{21} - h_0}{21}$.
  • Math: $ … $ inline, $$ … $$ on its own line, rendered with KaTeX.
  • Code: `` plus a language name (e.g. ``python) for syntax highlighting.
  • Figures: ![Figure 1: setup](https://…).
  • Full syntax: Markdown syntax guide.

Before you submit

  • Choose the paper size your course asks for (A4 or Letter) and normal margins.
  • Check in the preview that tables and formulas fit the page width.
  • The file is named after the first heading; rename it if your course has a naming rule.
  • Drafted parts with an AI assistant? See exporting AI answers to PDF for the one-click cleanup.

Start from the report template

Open the homework / report template

Frequently asked questions

My course requires Word. What now?

MarkPDF only exports PDF. Pandoc converts Markdown to .docx: pandoc report.md -o report.docx.

Why doesn't my formula render?

Make sure it is wrapped in $ with no space right after the opening $. \[ \] math copied from AI tools works too.

Long reports: are pages split automatically?

Yes, according to the paper size. A break can occasionally fall inside a table or paragraph; adding or removing a blank line adjusts it.

Related guides