platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

Markdown tables not rendered properly in MAML

Open sdwheeler opened this issue 2 years ago • 0 comments

Prerequisites

  • [X] Write a descriptive title.
  • [X] Make sure you are able to repro it on the latest released version
  • [X] Search the existing issues.

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 avatar Jul 07 '22 19:07 sdwheeler