Files
The Files tab lets you upload and manage project files such as images.
Uploading a file
- Open the Files tab.
- Click Upload and select a file.
- 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.