Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-CORE-001

A reader reads a faithful rendering of any document

Writers need to read their Markdown as formatted text, at any length, in any script and direction, while they type.

Use case diagram

How it is split

This use case (StRS) is reached by 2 paths, one per coloured line. A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests. Where paths meet, they share the circle or the step.

path 1: Edit and see the preview follow path 2: Read text of any script, starts at 2 other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-CORE-001: The preview renders the unsaved buffer in process and keeps the newest editSwRS-MDOKFSTUDIO-CORE-0013 teststhe buffer changes andthe extension rendersthe unsaved textcompletelySwRS-MDOKFSTUDIO-LIFE-094: Blocks changed by another tool glow brieflySwRS-MDOKFSTUDIO-LIFE-0946 testsanother tool, an undo or a redochanges the text and the updatedblocks glow brieflySwRS-MDOKFSTUDIO-CORE-041: Right-to-left text aligns to the right and blocks get an automatic directionSwRS-MDOKFSTUDIO-CORE-0412 testsa paragraph, heading, list item,quote or cell without a directiongets automatic direction, soright-to-left text aligns to therightSwRS-MDOKFSTUDIO-CORE-034: Long words, URLs, identifiers and CJK text wrap in the columnSwRS-MDOKFSTUDIO-CORE-0342 testsa long word, URL or Japanese, Chinese or Korean paragraphwraps in the columnA Markdown file is open beside its previewA Markdown file is openbeside its previewThe preview shows the unsaved text (paths 1, 2)The preview shows theunsaved text2The updated blocks glow brieflyThe updated blocks glowbrieflyRight-to-left text is aligned to the rightRight-to-left text isaligned to the right

This map has 42 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 4 behaviours on the map are tested one by one, with 17 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-CORE-001The preview renders the unsaved buffer in process and keeps the newest edit 3 testsSwRS-MDOKFSTUDIO-CORE-003Every rendered block maps to its absolute source lines not on the map3 testsSwRS-MDOKFSTUDIO-CORE-008Images fit the column, sit on the line and survive a missing file not on the map4 testsSwRS-MDOKFSTUDIO-CORE-010Wikilinks render as links where they are text not on the map2 testsSwRS-MDOKFSTUDIO-CORE-028Body text, headings, lists and block quotes are typeset readably not on the map5 testsSwRS-MDOKFSTUDIO-CORE-034Long words, URLs, identifiers and CJK text wrap in the column 2 testsSwRS-MDOKFSTUDIO-CORE-041Right-to-left text aligns to the right and blocks get an automatic direction 2 testsSwRS-MDOKFSTUDIO-CORE-043Find works in the preview not on the map2 testsSwRS-MDOKFSTUDIO-CORE-050Soft appearance and colour transitions honour reduced motion not on the map4 testsSwRS-MDOKFSTUDIO-CORE-070Parsing a document with many directives stays fast and keeps the blank lines around each directive not on the map1 testSwRS-MDOKFSTUDIO-CORE-071README-style HTML renders like GitHub and shows its tag in edit mode not on the map6 testsSwRS-MDOKFSTUDIO-CORE-072A [TOC] marker or a contents directive renders the table of contents not on the map3 testsSwRS-MDOKFSTUDIO-CORE-077A table tints its heading, its even rows and the hovered row not on the map2 testsSwRS-MDOKFSTUDIO-CORE-079Inline code shows a front matter value of the document not on the map3 testsSwRS-MDOKFSTUDIO-CORE-088CommonMark constructs render the same in every palette mode and in a long document not on the map2 testsSwRS-MDOKFSTUDIO-CORE-089Inline code is a readable tinted pill in text, links, tables and forced themes not on the map1 testSwRS-MDOKFSTUDIO-LIFE-094Blocks changed by another tool glow briefly 6 testsSwRS-MDOKFSTUDIO-MYST-097Code fences and front matter are read the same way everywhere not on the map1 test
SwRS-MDOKFSTUDIO-CORE-002Render the CommonMark blocks superseded superseded by SwRS-MDOKFSTUDIO-CORE-001 Markdown file
SwRS-MDOKFSTUDIO-CORE-004Map a multi-line block to its end line superseded superseded by SwRS-MDOKFSTUDIO-CORE-003 Markdown file
SwRS-MDOKFSTUDIO-CORE-005Hide leading frontmatter from the body superseded superseded by SwRS-MDOKFSTUDIO-CORE-003 Markdown file
SwRS-MDOKFSTUDIO-CORE-006Keep body lines absolute after frontmatter superseded superseded by SwRS-MDOKFSTUDIO-CORE-003 Markdown file
SwRS-MDOKFSTUDIO-CORE-007Map image-only blocks superseded superseded by SwRS-MDOKFSTUDIO-CORE-003 Markdown file
SwRS-MDOKFSTUDIO-CORE-011Leave wikilink syntax untouched where it is not text superseded superseded by SwRS-MDOKFSTUDIO-CORE-010 Markdown file
SwRS-MDOKFSTUDIO-CORE-020Render read-only in an untrusted workspace deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-CORE-021Refuse the render when trust is required superseded superseded by SwRS-MDOKFSTUDIO-CORE-001 Markdown file
SwRS-MDOKFSTUDIO-CORE-027Warm the render engine at activation deprecated deprecated Markdown file
SwRS-MDOKFSTUDIO-CORE-029Style headings superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-030Tighten list spacing superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-031Style inline code as a pill superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-032Keep inline code readable inside links superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-033Keep inline code compact in tables superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-035Scroll wide tables inside their box superseded superseded by SwRS-MDOKFSTUDIO-LAYOUT-032 Markdown file
SwRS-MDOKFSTUDIO-CORE-037Reach the end of the document superseded superseded by SwRS-MDOKFSTUDIO-CORE-028 Markdown file
SwRS-MDOKFSTUDIO-CORE-038Render a very long document completely superseded superseded by SwRS-MDOKFSTUDIO-CORE-001 Markdown file
SwRS-MDOKFSTUDIO-CORE-039Wrap CJK text in the pane superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file
SwRS-MDOKFSTUDIO-CORE-040Wrap an unbroken word in the column superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file
SwRS-MDOKFSTUDIO-CORE-042Wrap long URLs in the column superseded superseded by SwRS-MDOKFSTUDIO-CORE-034 Markdown file
SwRS-MDOKFSTUDIO-CORE-044Drop unsupported raw HTML superseded superseded by SwRS-MDOKFSTUDIO-CORE-071 Markdown file
SwRS-MDOKFSTUDIO-CORE-046Render identically in every palette mode superseded superseded by SwRS-MDOKFSTUDIO-CORE-001 Markdown file
SwRS-MDOKFSTUDIO-CORE-048Glow blocks changed outside the preview superseded superseded by SwRS-MDOKFSTUDIO-LIFE-094 Markdown file
SwRS-MDOKFSTUDIO-CORE-049Skip the glow when it would mislead superseded superseded by SwRS-MDOKFSTUDIO-LIFE-094 Markdown file
SwRS-MDOKFSTUDIO-CORE-051Enable soft appearance after the first input superseded superseded by SwRS-MDOKFSTUDIO-CORE-050 Markdown file
SwRS-MDOKFSTUDIO-CORE-052Fade a closed editor back to its block superseded superseded by SwRS-MDOKFSTUDIO-CORE-050 Markdown file
SwRS-MDOKFSTUDIO-CORE-053Transition colours once on theme change superseded superseded by SwRS-MDOKFSTUDIO-CORE-050 Markdown file
SwRS-MDOKFSTUDIO-CORE-065Place inline images on the text line superseded superseded by SwRS-MDOKFSTUDIO-CORE-008 Markdown file
SwRS-MDOKFSTUDIO-CORE-066Ignore invalid page messages superseded superseded by SwRS-MDOKFSTUDIO-TRUST-052 Markdown file
SwRS-MDOKFSTUDIO-CORE-068Disable soft appearance after a content patch superseded superseded by SwRS-MDOKFSTUDIO-CORE-050 Markdown file
SwRS-MDOKFSTUDIO-GFM-029A small raw HTML subset renders and the rest is dropped superseded superseded by SwRS-MDOKFSTUDIO-CORE-071 Markdown file