Skip to main content

Files

The Files tab lets you upload and manage project files such as images.

Uploading a file

  1. Open the Files tab.
  2. Click Upload and select a file.
  3. The file is stored in your project and assigned a filename.

Using a file in markup

Reference uploaded files using the <- syntax:

img: <- hero.png
logo: <- logo.svg

The filename must match exactly what was uploaded.

Getting the file URL

To get a direct URL to a file (for use outside of markup):

CLI:

micropage files url hero.png

Notes

  • Files are scoped to a project.
  • Deleting a file that is referenced in markup will cause a broken image.