From f95035a20ccb0177b1eb5e2d8817e70beea259ef Mon Sep 17 00:00:00 2001 From: Tom Longhurst <30480171+thomhurst@users.noreply.github.com> Date: Fri, 21 Aug 2026 15:37:39 +0100 Subject: [PATCH] fix(docs): skip nested example fences --- scripts/Verify-DocSnippets.ps1 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/Verify-DocSnippets.ps1 b/scripts/Verify-DocSnippets.ps1 index 883e1f59..9ae32dcc 100644 --- a/scripts/Verify-DocSnippets.ps1 +++ b/scripts/Verify-DocSnippets.ps1 @@ -162,6 +162,12 @@ foreach ($documentPath in $documentPaths) [void]$projectCommands.Add($Matches[1].Trim("'`"")) } } + + continue + } + + for ($lineIndex++; $lineIndex -lt $lines.Count -and $lines[$lineIndex] -notmatch $closingFencePattern; $lineIndex++) + { } } }