TC #62 — Phase 6 N1 SOL anchor — inline ``` does not open a fence #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
With
:highlight on, prompt the model:If the model emits prose like
Use \`` to mark code blocks` MID-LINE (no preceding newline), the fence filter must NOT treat the backticks as opening a fence.Expected
Acceptance
Per N1 — only
^```` (SOL) or\n```` (post-newline) opens a fence.Interactive — needs terminal time
Hard to reliably elicit specific prose shapes from a model.
Verified algorithmically rather than via model-emitted prose (which is unreliable to elicit deterministically). Three unit cases prove the N1 SOL/post-newline anchor at commit
11d0e59:A.
use ``` to denote code in markdown.-> filter does NOT trigger (no preceding newline; mid-line backticks ignored). Output passes through verbatim, no [HL:..] highlight marker.B. `intro\n```py\nx=1\n```` -> filter DOES trigger after the \n (post-newline anchor). [HL:py]x=1[/HL] emitted.
C. `prose with
mention.\nthen:\nlua\nx=2\n```` -> mid-line skipped; real fence after \n still triggers. Mixed-stream behavior intact.The renderer state machine correctly distinguishes prose mentions of triple-backticks from legitimate fence openings. Closed by Phase 7 verify.