Markdown OKF-Schema Studio

Area

Lifecycle and sync

Open, refresh, reload and restore, Open With, scroll sync, incremental patches, status pages, coexistence

9 use cases · 46 behaviours · 83.64% linked to code and tests

Use cases

Each stop is a use case; open one to see how it is split into behaviours.

  1. StRS-MDOKFSTUDIO-LIFE-001A writer opens previews beside the editor or as tabs, beside the built-in previewI open a rendered preview of the Markdown file I am editing beside the editor, from the command palette, the Explorer, the editor title or a keyboard shortcut; as a reader, I open a Markdown file straight as a preview in its own tab, without changing the editor that Markdown files open in by default, and I keep the built-in Markdown preview next to it without either breaking the other.7 behaviours
  2. StRS-MDOKFSTUDIO-LIFE-003The side preview follows the active file and refreshes on demandI keep one preview beside my editor and it shows the Markdown file I am working in, without opening a new preview each time; as a reader, I redraw the preview myself when I doubt that it is current, and I stay where I was reading.5 behaviours
  3. StRS-MDOKFSTUDIO-LIFE-005The preview updates in place as the text and its dependencies changeI see my unsaved changes in the preview as I type, and a quick burst of typing does not make the preview flicker; I change an included file, rename a file or change a setting and the open preview follows, without reloading the window or making the page jump.9 behaviours
  4. StRS-MDOKFSTUDIO-LIFE-007The reader knows the render state and why a preview has no sourceI can tell whether the preview is current, still rendering, stale after an error or recovered, and I am told whether the file was deleted, renamed, is not a Markdown file or could not be restored.5 behaviours
  5. StRS-MDOKFSTUDIO-LIFE-010The panes scroll together and the reading position survives updatesI scroll the source and the preview shows the same passage; as a reader, I scroll or click in the rendered text and the source editor shows where that text comes from; and I keep my place when images load, the pane is resized, the zoom changes or lines are added above me.4 behaviours
  6. StRS-MDOKFSTUDIO-LIFE-014Previews come back after a reload, and each document keeps its reading place and view choicesI reload the window and my previews come back on the same documents, at the same place, with their open sections. I return to a document and find it at its own place, with its own Description choice. The view choices I made (zoom, width, table of contents and the others) are found again when I reopen a preview of the same workspace.6 behaviours
  7. StRS-MDOKFSTUDIO-LIFE-021The settings editor lists the Studio settings in clear groupsI find every Studio setting in the settings editor, grouped by what it controls, with a default and an explanation.1 behaviour
  8. StRS-MDOKFSTUDIO-LIFE-022Closing a preview or a folder leaves nothing behindI close a preview or a document, remove a folder from the workspace or turn the extension off, and no work or warning of that preview lingers. When the folder of a preview I keep open is removed, the preview stays on its panel and still shows its file, with restricted reads.1 behaviour
  9. StRS-MDOKFSTUDIO-LIFE-023A reader sees the line of a jump marked in the side preview and gets the raw text on requestI jump to a line of a Markdown file from a search, a problem or a link and see that line marked in the side preview; I can always ask for the raw text and it stays text; the editor association I set for Markdown keeps working, and an older setting of the Studio for it is turned into that association for me.16 behaviours
  10. StRS-MDOKFSTUDIO-LIFE-019A preview outside a trusted workspace is safe to readdeprecated deprecated Markdown file