Behaviour SwRS-MDOKFSTUDIO-MYST-102
Dollar prices stay text and keep their emphasis
When a sentence holds dollar amounts such as `$5 and $6` or bold prices such as `**$671**`, the extension SHALL keep them as text with their dollar signs and their emphasis, and typeset as maths only a span whose opening `$` is not followed by whitespace and whose closing `$` neither follows whitespace nor precedes a digit.
Part of StRS-MDOKFSTUDIO-MYST-006, outside the paths drawn on its map.
Scenarios 2
The situations the tests check; open one to read it.
nominalDollar amounts in a sentence stay text
Givensentences with `$19 base subscription ... ($200)`, `$5 and $6` and `$100–$380`, and a real `$x$` span
Whenthe preview renders
Theneach price sentence stays text with its dollar signs and holds no typeset span, and only the real span is typeset as maths, following the Sphinx rule that an opening `$` is not followed by whitespace and a closing `$` neither follows whitespace nor precedes a digit
boundaryBold dollar prices preserve emphasis
Given`**$671** cache reads + **$402** 5-min cache writes + **$85** 1-h cache writes + **$216** output`
Whenthe preview renders
Thenthe four prices are text inside four strong spans, the dollar signs are retained, and no literal `**` markers appear