Markdown OKF-Schema Studio

Behaviour SwRS-MDOKFSTUDIO-LIFE-194

The line marker marks the front matter property row of the line

When the line marker is requested on a line of the front matter, the page SHALL mark the properties table row of the property that holds the line (a multi-line value included) and expand a collapsed properties table first, and SHALL mark the top of the properties table, leaving a collapsed table collapsed, for a line that is no property line (a fence, a comment, a blank line).

Part of StRS-MDOKFSTUDIO-LIFE-023, outside the paths drawn on its map.

Scenarios 2

The situations the tests check; open one to read it.

nominalA property line
Givena file whose front matter has the line `owner: alice`, rendered with its properties table
Whenthe page receives previewRevealLine for that line
Thenone arrow and band are drawn on the owner row of the properties table
boundaryValues, fences and the collapsed table
InputOutcome
a line inside a list value of a propertythe marker sits on the row of that property
a fence or a comment linethe marker sits at the top of the properties table
a collapsed properties table and a property linethe table expands and the row is marked
a collapsed properties table and a fence or comment linethe table stays collapsed and the top is marked
the reader collapses the table laterthe marker is not drawn until the table shows again, and a later placement never expands it

Implemented in 1

Tested by 2