Editor
The Edit tab is the main interface for writing page content.
Layout
The editor splits into two panes:
- Left: CodeMirror text editor containing your
.pagemarkup - Right: Live preview rendered from the current markup
The preview updates automatically as you edit.
Toolbar
| Button | Action |
|---|---|
| Save | Saves the current markup as a draft build |
| Publish | Saves and deploys the site to Cloudflare Pages |
| Copy URL | Copies the live project URL to the clipboard |
| Preview | Opens the live site in a new browser tab |
Save vs Publish
- Save creates a draft build. The live site does not change.
- Publish deploys the current markup. The live site updates.
If the current build is already deployed, saving creates a new draft build without affecting the live site. The live site only changes when you publish.
AI tab
The AI tab provides an alternative entry point. Enter a prompt describing the site you want, and Micropage generates markup. You can preview the result, then apply it to your editor or discard it.
Markup format
The editor uses the Micropage markup format. See Your First Page for an introduction.