PowerShell / platyPS

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

Multiple code blocks in Example are merged into one code block when rendered to web #576

Closed sdwheeler closed 3 months ago

sdwheeler commented 2 years ago

Prerequisites

Steps to reproduce

This is a bug in the YAML conversion code.

See https://docs.microsoft.com/en-us/powershell/module/az.accounts/connect-azaccount?view=azps-8.0.0 for an example.

Compare that to the source: https://github.com/Azure/azure-powershell/blob/main/src/Accounts/Accounts/help/Connect-AzAccount.md

There is already a plan to fix this in v2. Created this issue to track the change.

Expected behavior

The code blocks should render separately as written.

Actual behavior

Code blocks are merged.

Error details

No response

Environment data

0.14.2

Visuals

No response

theJasonHelmick commented 3 months ago

This is included in the Microsoft.PowerShell.PlatyPS 1.0 release.

Alex-wdy commented 1 month ago

This is included in the Microsoft.PowerShell.PlatyPS 1.0 release.

May I confirm if there is an expected release date for PlatyPS 1.0?

sdwheeler commented 1 month ago

May I confirm if there is an expected release date for PlatyPS 1.0?

No planned date yet. Hoping for the end of the year.