Install and Open Studio
Install Markdown OKF-Schema Studio in VS Code from the
VS Code Marketplace.
VSCodium, Cursor and other compatible editors install it from Open VSX.
In any of them you can also open the Extensions view, search for Markdown OKF-Schema Studio, and
select Install.
Studio needs VS Code 1.95 or later, or an editor built on it. It is expected to work in VSCodium, Cursor and Windsurf, installed from Open VSX: their current builds are based on newer VS Code versions.
Open Studio
Use Open With... on a Markdown tab and select Markdown OKF-Schema Studio.
For a side-by-side source and preview, select the book icon in the editor title bar or run Markdown OKF-Schema Studio: Open Preview to Side from the Command Palette. The button and the command also work from a text diff (a Git diff, a file compare, the search and replace preview): the preview shows the real file of the diff, whichever side holds the cursor, and opens no extra editor. With a diff that has no file on either side (a staged change) it shows the working-tree file, without scroll sync. The button, the command and the following do not apply to the multi-file diff editor or the merge editor: open the file in a normal text editor or in the single-file diff instead.
| Editor title action | Source and preview |
|---|---|
![]() |
![]() |
Every image in this guide opens at full size when selected.
Open at a line
A search result, a Go to Line in Quick Open (file.md:40) or a link that opens a Markdown file
at a line opens the text editor at that line. Studio does not take the file over. With the side
preview open, an arrow in the margin marks the line (next section). The arrow disappears on your next
click in the page, when you start an edit, or when another line is asked; scrolling keeps it. In a table
the arrow marks the row of the line, in a tab that is not shown Studio shows the tab first, and in the
front matter it marks the property row (a collapsed properties table opens first).
With the side preview open
When the side preview is open next to a text editor, a jump keeps the text editor (see below), takes it to the line, and the side preview shows the same arrow on that line. It switches to the file first when the jump goes to another Markdown file. The arrow stays while you scroll or move the cursor, and goes when you type in that file or when the preview switches to another file. Moving the cursor with the arrow keys or a click never draws it.
With Scroll preview with editor on, the editor leads: the preview scrolls only when the line is
not already on screen. With it off, the preview scrolls the line to the reading line. A link or
Back and Next followed in the side preview mark their target line the same way. A Studio tab beside
the text editor marks nothing on a jump. The marker needs the file to open in the text editor: under the
*.md association a jump opens a Studio tab, and the side preview marks nothing.
Which moves count as a jump depends on the kind VS Code gives them. The real-window trial J1 recorded these kinds in VS Code on Linux:
| Move | Recorded by J1 | Marks the side preview |
|---|---|---|
Search click (vscode.open with a selection) |
a command move with one selection | yes |
cursorDown, cursorBottom, Select All (selectAll) |
no selection change | no |
| A selection set through the API (as VSCodeVim does) | no selection change | no |
| Go Back | no selection change | no |
Quick Open file.md:40, Go to Line, Problems, a link |
not driven (reached by the same open with a selection) | yes, as the search click |
| Go to Symbol, Find next (F3), Go to next problem (F8) | not driven | yes if VS Code reports them as a command, not verified |
| A click, Page Down, typing, undo, Ctrl+D, Format Document | not driven | no, by design (not a command move) |
Only the first four rows were recorded; the others follow from the design.
A Markdown file opens as text, whoever opens it: the Explorer, Quick Open, a search result or a link.
Studio never closes or replaces a text editor. To open every .md file in Studio, associate it
in your settings:
"workbench.editorAssociations": { "*.md": "markdown-okf-schema-studio.editor" }
With that association VS Code itself opens Studio. A jump to a line (a search result, Quick Open
file.md:40) then opens Studio at the top of the file and the side preview marks nothing. Version
1.11.0 offered the settings open.searchResultsInStudio and open.markdownFilesInStudio for this; the
first activation of a later version turns an open.markdownFilesInStudio that was on into the
association above, at the same scope (your user settings, your workspace, or both), and removes both settings.
Open in Studio at This Line
To open the Markdown text editor you are in as a Studio tab at the caret’s line, run Markdown OKF-Schema Studio: Open in Studio at This Line. It is in the Command Palette and in the title bar menu (the ... overflow) of a Markdown text editor, and has no default keybinding. The Studio tab opens in the same group, reveals the line and marks it with the arrow; the text tab stays open and no tab is closed. If a Studio tab of the file is already open in another group, that tab is revealed and given the line, and no second tab opens. On a Studio tab, with no editor or on a file that is not Markdown, it only tells you to open a Markdown file as text.
Links, Back and Next in a Studio tab
In a Studio tab, a link to another Markdown file, and Studio’s own Back and Next to a place in another file, open the target at its line or heading (line 1 for a link with neither), in a Studio tab when the target opens as one. A Studio tab of the target that is open in any group is revealed instead of opening a second one. Studio’s Back and Next are not VS Code’s Go Back: Studio’s follow the places you moved through in Studio. With the default settings a link opens the target as text and records nothing in the history; the line is then not handed to a Studio tab.
The text always stays: to read the raw text on purpose, run Markdown OKF-Schema Studio: Open as Text, Reopen Editor With... > Text Editor or Open With... > Text Editor. That text editor stays text. A diff stays a text diff, and its side preview shows the real file. See Known Limitations for what is not covered.
In the Agents window
The Agents window is a VS Code feature. Other editors, such as VSCodium, Cursor and Windsurf, have no Agents window, and Studio works there in the normal editor.
Studio also runs in the VS Code Agents window, the companion window for agent sessions. Open a Markdown file there, then use Open With... and select Markdown OKF-Schema Studio.
-
Files of the active agent session are editable: the Agents window adds the session’s working folder to the workspace.
-
Other files are editable too. Their reads are limited to the file’s own folder: includes and images come from there, and schema files are not looked up.
-
Switching to another agent session keeps the Studio tab open. It keeps editing, with reads limited to the file’s folder, until a session that holds the file is active again, then reads the whole working folder on the same tab.
A VS Code build that ignores the extension’s declaration of Agents window support leaves Studio disabled there. Enable it with this user setting, or under Agent Customizations > Extensions:
"extensions.supportAgentsWindow": { "GaetanSemet.markdown-okf-schema-studio": true }


