Markdown OKF-Schema Studio

Area

Trust and security

Restricted Mode and standalone previews (editable, restricted reads), refused messages, CSP, resource policy

6 use cases · 20 behaviours · 78.26% 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-TRUST-001A document opens editable whatever the trust, with narrow reads outside a trusted folderI open a document in Restricted Mode, or a file from outside my workspace, and edit it as I do anywhere else; the preview reads no more than the folder of the document, and I am told why a feature that needs trust is off.2 behaviours
  2. StRS-MDOKFSTUDIO-TRUST-004Local files load only from the allowed foldersI preview a Markdown file from anywhere on my disk and see the images and media beside it, without the preview reading the rest of my disk, whether the path uses parent paths, encoding or links.4 behaviours
  3. StRS-MDOKFSTUDIO-TRUST-006The preview runs no foreign code and unsafe HTML is made inertand as a reviewer of an untrusted repository, I open any Markdown file, even one with hostile HTML, knowing that its preview cannot run its code, call out to the network or read my other files.7 behaviours
  4. StRS-MDOKFSTUDIO-TRUST-009What the page and the host exchange is checked and never applied to another versionI rely on what the preview page asks of the extension being checked before any file or setting changes, and I never see an answer, an edit, a move or a request meant for another document or for an older version of my page land in the current document.5 behaviours
  5. StRS-MDOKFSTUDIO-TRUST-012Visible text and the icon speak of the productI see messages that speak of the preview, not of the tools that built it, and I recognise the Studio in the Extensions view by its own icon.2 behaviours
  6. StRS-MDOKFSTUDIO-TRUST-014The extension is built from pinned dependencies and ships what it loadsI install on the pinned Node.js version from the official registry, and when I package the Studio the bundles the preview loads are in the package.4 behaviours