Skip to content

Commit b808a7d

Browse files
author
James Brundage
committed
Updating inline transpiler readme (re #220)
1 parent ceb2ca2 commit b808a7d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Transpilers/Inline/README.ps1.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ PipeScript can currently be embedded in ```.>{@(Get-Transpiler -TranspilerPath $
99
Table = Get-Transpiler -TranspilerPath $pwd |
1010
Select-Object @{
1111
Name='Language'
12-
Expression= {$_.DisplayName -replace '^Inline\.'}
12+
Expression= {
13+
"[$($_.DisplayName -replace '^Inline\.')]($($_.Link))"
14+
}
1315
}, @{
1416
Name='Synopsis'
1517
Expression= { $_.Synopsis -replace '[\s\r\n]+$' }
1618
}, @{
17-
Name='Link'
18-
Expression = { $_.Name }
19+
Name='Pattern'
20+
Expression = { '```' + "$($_.ScriptBlock.Attributes.RegexPattern -replace '\|','\|')" + '```'}
1921
}
2022
}
2123
}

0 commit comments

Comments
 (0)