Markdown OKF-Schema Studio

Floating Toolbar

The floating toolbar at the top right of the preview has four rows of four buttons, so it stays narrow and covers little of the page:

The Table of contents toolbar button shows the outline of the whole document next to the preview. A [TOC] line (or [[_TOC_]], or a {contents} directive) in the text (inserted by the Table of contents button of the edition palette or by /toc) renders the same headings as a list inside the document itself. With preview.listItemsInToc on (off by default), the table of contents button also lists the items of top-level lists under their heading; the [TOC] list in the document keeps the headings only. See Settings.

The Side-by-side toggle turns each block changed since the last Git commit into a small diff card: the block as it was at the last commit on the left, as it is now on the right, both rendered, with the removed words struck through on the left and the added words underlined on the right. An added block has an empty left side; a deleted block comes back with an empty right side. Unchanged blocks stay as they are, so the page shows several small diffs. It is off by default (the green bar stays), it works in reading mode only (the button is disabled in edit mode, where the green bars remain), and it never changes the file. It needs the same conditions as the green bars: a file known to Git in a trusted workspace, with preview.showIncomingChanges on, which also hides the button when off.

Export to HTML

The Export button, or the command Export to HTML of the command palette, saves the page as one .html file that a reader opens in any browser, with no editor and no other file. A save dialog proposes the name of the page with the .html extension; Cancel writes nothing.

The chevron button collapses the toolbar to its first row when you want the most room for the text, and expands it again. The choice is remembered per workspace; a new workspace starts with the toolbar collapsed, so click the chevron to reach rows 2 to 4. Hidden rows are skipped by the Tab key.

Rows 2 to 4 unroll and roll up as one block when you press the chevron. When a panel opens its preview with the toolbar collapsed, it unrolls for a moment and rolls up again, to show that it can expand; a mouse or key press cancels it, it never changes your saved choice, and it does not replay on a refresh, a reload or when the panel follows another document. Tooltips of the toolbar, the edit bar and the table menu slide in from the left. With the system setting “reduce motion” none of these animate.

Expanded Collapsed
The floating toolbar expanded: four rows of buttons The floating toolbar collapsed to its first row