Skip to content
GitHub

Export to PDF

In NORMAL mode, type :export and press Enter. The open note is written as a PDF next to it, with the same name: plan.md becomes plan.pdf.

Give a file or a folder to put it somewhere else:

:export report.pdf
:export ~/Desktop/

:pdf does the same as :export.

Terminal window
tsuzuri export notes/plan.md # writes notes/plan.pdf
tsuzuri export notes/plan.md -o plan.pdf # pick the file
tsuzuri export notes/plan.md -o ~/Desktop/ # or the folder

The command prints where the PDF was written.

The PDF is a printable A4 document with:

  • headings, paragraphs, lists, to-dos, quotes and callouts,
  • tables,
  • syntax-highlighted code,
  • equations, as they look in the preview,
  • images,
  • boards, calendars, timelines, charts and flowcharts, in colour, as they look in the preview,
  • embedded notes printed in full, and [[links]] as their text.

The buttons you click in the preview (+ New, the calendar arrows and so on) are left out, since they mean nothing on paper.