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
PublishMakes the current markup live on your site
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.

Problems​

The editor checks your markup for problems about 1.5 seconds after you stop typing, and again when you save. Checking never saves or publishes anything.

Each problem is marked in the gutter beside its line and underlined in the text. Its message starts with the line number and severity, for example Line 12, hint: buton: is not a tag, so this line is plain text. Did you mean button:? [unknown-tag].

Under the editor, a status line shows the current count, such as 1 warning, 2 hints or No problems, next to a Show problems (N) button. Screen readers hear a short polite summary when the count changes, after you pause; they don't hear every keystroke's result.

Keyboard​

KeysAction
F8Move to the next problem and read its message
Shift+F8Move to the previous problem and read its message
Ctrl+. (Cmd+. on Mac)Apply the suggested fix on the cursor's line
Ctrl+Shift+M (Cmd+Shift+M on Mac)Open the problems panel

F8 and Shift+F8 wrap around at the ends of the page. With no problems, they say "No problems."

Some browsers take Ctrl+Shift+M for themselves. If it doesn't open the panel, use the Show problems (N) button instead.

Problems panel​

The panel lists every problem and takes keyboard focus when it opens.

  • Up and Down arrows (or Page Up and Page Down) move between problems; Home and End go to the first and last.
  • A applies the suggested fix for the selected problem, when it has one.
  • Enter returns focus to the editor at that problem.
  • Escape closes the panel and returns focus to the editor.

A fix replaces the whole line. If the line changed since the check, the fix is not applied and you hear "Line N changed; fix not applied." Otherwise you hear "Applied fix on line N."

When checking can't run​

The status line says so instead of showing a count: Couldn't check this page. after a network or server error, This page is too large to check while you type. for a page over 512 KB, or a message asking you to log in again when your session has expired. Saving still works, except for a page over 512 KB, which can't be saved or previewed either; see Build limits.

The check doesn't fetch image URLs or search keywords that aren't already stored in the project, so a broken image URL is only reported when you save. See What check doesn't verify.

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.