Install-Module PSMarkdown
Import-Module PSMarkdown
$a = @(
[PSCustomObject]@{ Name = 'John'; Age = 30; City = 'New York' }
[PSCustomObject]@{ Name = 'Alice'; Age = 25; City = 'Los Angeles' }
[PSCustomObject]@{ Name = 'Bob'; Age = 40; City = 'Chicago' }
)
$a | ConvertTo-Markdown
Readme.md (Markdown table style)
Example:
Output: