Export and printing

Export documents as HTML or PDF, or adjust paper size and margins before printing.

Choose an output format

PurposeHowWhat it needs
HTML to read in a browserCtrl+Shift+ENo extra software
A PDF to shareCtrl+LMicrosoft Edge or Google Chrome
Printing with paper size and margins setCtrl+PYour default browser

Output covers the current tab. An unsaved new document can be exported too, but save it first if it contains images referenced by a relative path.

Export to HTML

  1. Select the tab you want to export.
  2. Choose File → Export HTML… (Ctrl+Shift+E).
  3. Choose a folder and a file name, then save.
  4. Use Open folder in the completion notice to check the result.

Styles are embedded in the HTML, and the output always uses a light colour scheme. A table of contents is not generated automatically; add one to the document if needed.

Local images are referenced by their absolute paths, not embedded in the HTML. If you send only the HTML file to another PC, those images will be missing. Use PDF to share a single file with the images included.

Export to PDF

  1. If the document contains diagrams or formulas, confirm in the preview that they are drawn first.
  2. Choose File → Export PDF… (Ctrl+L).
  3. Choose a folder and a file name.
  4. Open the PDF afterwards and check the page breaks and the images.

Conversion to PDF uses an installed copy of Edge or Chrome. The app has no settings for paper size or margins; use printing below when you need to adjust them.

Adjust paper size and margins

Ctrl+P sends the document to your default browser and opens its print dialog. If the dialog does not appear, press Ctrl+P in the browser.

Set the paper size, margins, scale and background printing, then choose a printer or Save as PDF. The temporary HTML used for printing is deleted after about 30 seconds. If a reload no longer shows it, print again from Folio.md.

Before you export

  • HTML, PDF and printing always use a light colour scheme, even when the app uses a dark theme.
  • Mermaid diagrams and formulas can be exported as their source text if the preview has not finished drawing them.
  • Settings → Network → External Resource Fetching also applies to exports. With Do not fetch (link text only) selected, external images are replaced by link text.
  • Exporting or printing an encrypted document creates an unencrypted copy. This includes the exported HTML or PDF and the temporary HTML used for printing. Check the destination and who will have access to it.

If the output is not what you expected

SituationWhat to check
A message says a browser is needed for PDFCheck that Edge or Chrome is installed
A diagram is exported as codeDisplay the diagram in the preview, then export again
Images are missing from the HTMLCheck the path to the original image, and that the image file is still there
The export failsCheck the permissions and free space of the destination, and whether the output file is open in another app

Shortcuts are listed with their default assignments. If you have changed them, check the current keys in the in-app help (F12).