- Documentation
- The editor
- Writing in the editor
Writing in the editor
Write and edit pages in the dashboard, in a visual editor or as Markdown, with your edits saved as drafts until you publish.
Open Editor in the dashboard to write pages without touching Git. You edit in the browser, Specly keeps your edits as drafts, and nothing reaches your repo or your site until you publish.
The page tree
Section titled “The page tree”The sidebar lists your pages in the order docs.json gives them, under its tabs and groups. Use Filter pages to
find one.
- Choose New page (the + button) to add a page. Give it a Title, choose the group it Goes in, and check
its Address. The address comes from the title until you change it, and the file is that address with
.mdxon the end. Choose Create the page. - Drag a page to move it, or press Alt+↑ or Alt+↓ on it. The new order is saved as a draft of
docs.json. - A dot beside a page means it has unpublished edits.
- A page marked “(no file)” is listed in
docs.json, but its file doesn’t exist yet.
The page and its place in the navigation stay drafts until you publish. In Settings › Site › Editor, New pages start from sets the starting text (A blank page, Guide: intro, steps, next steps or API endpoint), and Pages open in sets whether pages open in Write or Markdown.
Three ways to see a page
Section titled “Three ways to see a page”The switch above the page has three modes over the same text.
Edit the page as it reads. The title and description sit above the text. Select text for a bar with Bold, Italic, Inline code and Link.
Edit the file itself. It’s exactly what Publish writes to the file, and edits here and in Write stay in sync. A link to a line of a file opens this mode.
A quick read of your edits. Components show as their text. For the built page with your theme, open a preview link.
If Write can’t read a page, it opens Markdown and says why. Fix the problem there, and Write opens again once the page parses.
Add blocks with /
Section titled “Add blocks with /”In Write, type / on an empty line, or choose Add a block in the toolbar. Type to filter, then press Enter or
click. Each block inserts the same Markdown and components you’d write by hand.
| Group | Blocks |
|---|---|
| Media | Image, Video, Embed, File |
| Text | Heading, Table, Quote, Divider |
| Components | Callout, Code group, Cards, Steps, Tabs, Accordion, API field, Diagram, Math, Changelog entry |
| Reuse | Snippet |
The components are the ones in Components. Snippet lists the pages in your snippets/
folder and inserts one; see Snippets. Select a component or a media block to change its settings in the first tab
of the side panel, which carries the block’s name.
Images, video and files
Section titled “Images, video and files”Choose Image, Video or File from the menu to open the media picker. It has three tabs:
- Library has what you’ve already uploaded.
- Upload takes files you drop or choose.
- Video link takes a YouTube, Loom, Vimeo or Wistia link, and plays it in a privacy-respecting player.
Every image needs Alt text, and every video needs a Description. The picker won’t insert one without it, so every reader, and every AI agent, gets the picture. Images go into your repo when you publish. Videos are stored by Specly. To embed anything else, such as a Figma file, choose Embed and give it an https address and a title.
The side panel
Section titled “The side panel”The Page tab edits the page’s Sidebar title and Description, and shows its file and a link to its history. The Comments tab holds comments and mentions. Ask agent is there too, for editors and admins.
Drafts save as you type
Section titled “Drafts save as you type”Specly saves your edits about two and a half seconds after you stop. The status beside the toolbar says where you are:
| Status | Meaning |
|---|---|
| Unsaved changes | You’ve typed since the last save. |
| Saving… | Specly is saving the draft. |
| Saved · not published yet | The draft is saved and differs from your repo. |
| Saved · same as published | The draft matches your repo. |
| Not saved | Specly couldn’t save. Your edits stay in the editor, and it tries again. |
Leaving the page saves what’s left. Drafts live in Specly, not in your repo, until you publish.