platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

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

Open sdwheeler opened this issue 3 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

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

sdwheeler avatar Jun 30 '22 02:06 sdwheeler