We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de93341 commit 8499a2eCopy full SHA for 8499a2e
src/platyPS/platyPS.psm1
@@ -2680,7 +2680,13 @@ function ConvertPsObjectsToMamlModel
2680
}
2681
else
2682
{
2683
- $MamlCommandObject.Synopsis = New-Object -TypeName Markdown.MAML.Model.Markdown.SectionBody ($Help.Synopsis.Trim())
+ $MamlCommandObject.Synopsis = New-Object -TypeName Markdown.MAML.Model.Markdown.SectionBody (
2684
+ # $Help.Synopsis only contains the first paragraph
2685
+ # https://github.com/PowerShell/platyPS/issues/328
2686
+ $Help.details.description |
2687
+ DescriptionToPara |
2688
+ AddLineBreaksForParagraphs
2689
+ )
2690
2691
2692
#Get Description
0 commit comments