PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
765 stars 149 forks source link

Markdown tables not rendered properly in MAML #577

Closed sdwheeler closed 3 months ago

sdwheeler commented 2 years ago

Prerequisites

Steps to reproduce

Copied from https://github.com/MicrosoftDocs/PowerShell-Docs/issues/8404

See example: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date#notes

In the link above the notes contain a table, and it is correctly rendered. The source file https://raw.githubusercontent.com/MicrosoftDocs/PowerShell-Docs/staging/reference/7.2/Microsoft.PowerShell.Utility/Get-Date.md appears to contain correct markdown for the tables, and the correct on-line help supports this so the problem seems to lie in the format translation.

Expected behavior

Table should be formatted correctly in the console.

Actual behavior

Get-Help displays this image

image

Error details

No response

Environment data

0.14.2

Visuals

No response

sdwheeler commented 3 months ago

This is fixed in Microsoft.PowerShell.PlatyPS v1.