Closed DEberhardt closed 2 years ago
I think this is expected behavior. You need a blank line between the code and the text in your comment-based help.
Adding a blank line after the code fixes the issue. PlatyPS needs the blank line to tell where the code stops and the paragraph begins.
Prerequisites
Steps to reproduce
here is my function:
Expected behavior
--- this is the output of v0.14.1
EXAMPLES
EXAMPLE 1
Creates a session to AzureAD prompting for a Password for 'admin@domain.com' If AzureAdPreview is loaded, tries to enable eligible Admin roles in Privileged Identity Management Creates a session to MicrosoftTeams with the AzureAd Session details If unsuccessful, prompting for selection of the authenticated User only (no additional authentication needed)
Actual behavior
--- this is the output of v0.14.2
EXAMPLES
EXAMPLE 1
Error details
no error, just a style thing - don't think this is intentional
Environment data
Visuals
v0.14.1 on the left v0.14.2 in the middle Preview of new file on the right.