Skip to main content

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 .page markup
  • Right: Live preview rendered from the current markup

The preview updates automatically as you edit.

Toolbar

ButtonAction
SaveSaves the current markup as a draft build
PublishSaves and deploys the site to Cloudflare Pages
Copy URLCopies the live project URL to the clipboard
PreviewOpens 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.