We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a35b360 commit 5f9576dCopy full SHA for 5f9576d
.github/workflows/demo-command.yml
@@ -26,8 +26,7 @@ jobs:
26
$bodyLines = $github.event.client_payload.github.payload.comment.body -split '\r?\n' | Select-Object -SkipFirst 1
27
$body = $bodyLines -join "`n"
28
$md = ConvertFrom-Markdown $body
29
- using namespace Markdig.Syntax
30
- $codeBlocks = [MarkdownObjectExtensions]::Descendants($md.Tokens) | Where-Object { $_ -is [CodeBlock] }
+ $codeBlocks = [Markdig.Syntax.MarkdownObjectExtensions]::Descendants($md.Tokens) | Where-Object { $_ -is [Markdig.Syntax.CodeBlock] }
31
if ($codeBlocks) {
32
$scriptAst = $codeBlocks | Select-Object -First 1
33
$script = $scriptAst.Lines.ToString()
0 commit comments