Skip to content

Export one note ​

Open the export dialog from either place:

  1. In the current note, open More options and choose Better Export PDF.
  2. Open the command palette and run Better Export PDF: Export Current File to PDF.

Adjust page size, margins, and the other options, click Export, then choose where to save the file. If you do not need to change anything, press Enter and it exports with the options already in the dialog.

Each time the dialog opens, it shows the options from the last export. Page size, margins, scale, and the other dialog options are written when you click Export or press Enter. If you change a few values and close the dialog, those changes are dropped.

Turn on Landscape to print sideways.

Save next to the note ​

Save next to the note in plugin settings is off by default. Turn it on and Export or Enter skips the save dialog. The PDF is written inside the vault at:

<vault disk path>/<folder of the note>/<note name>.pdf

The note name does not include .md. Weekly.md at the vault root becomes <vault root>/Weekly.pdf. Notes/Weekly.md becomes <vault root>/Notes/Weekly.pdf.

An existing PDF is overwritten

If a PDF with the same name is already there, the export replaces it without asking. If another program has the file open, the export stops and shows a notice.

With Add timestamp also on, the name is Weekly-<millisecond timestamp>.pdf. Each export creates a new file and does not replace the previous one.

ExportWhich file the path uses
The current noteThat note
A toc note merged into one PDFThe contents note, not the notes it includes
Each file in a folderEach note, so a note in a subfolder is written beside itself
A folder merged into one PDFThe folder's parent, named after the folder. Exporting the vault root uses the vault's name

Preview PDFs stay in the system temp directory. The CLI does not read this setting. See Command line.

Export as one page ​

To put the whole note on one page, set Page Size to Custom and Margin to None, then fill in the width and height. The size shown beside the preview is only an estimate. The PDF uses the width and height you entered.