Choose an output format
| Purpose | How | What it needs |
|---|---|---|
| HTML to read in a browser | Ctrl+Shift+E | No extra software |
| A PDF to share | Ctrl+L | Microsoft Edge or Google Chrome |
| Printing with paper size and margins set | Ctrl+P | Your 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
- Select the tab you want to export.
- Choose File → Export HTML… (Ctrl+Shift+E).
- Choose a folder and a file name, then save.
- 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
- If the document contains diagrams or formulas, confirm in the preview that they are drawn first.
- Choose File → Export PDF… (Ctrl+L).
- Choose a folder and a file name.
- 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
| Situation | What to check |
|---|---|
| A message says a browser is needed for PDF | Check that Edge or Chrome is installed |
| A diagram is exported as code | Display the diagram in the preview, then export again |
| Images are missing from the HTML | Check the path to the original image, and that the image file is still there |
| The export fails | Check the permissions and free space of the destination, and whether the output file is open in another app |