Page 1 of 1

No line breaks between Introduction and Command Sections for HelpWriter

Posted: Fri Jun 23, 2017 9:17 am
by adbertram
I've created a module help file that looks like the attached in HelpWriter 2.1.34. However, when I look at how the help is rendered in PowerShell, the line breaks are gone and it looks terrible. Can this be fixed?

Re: No line breaks between Introduction and Command Sections for HelpWriter

Posted: Fri Jun 23, 2017 9:26 am
by davidc
Can you upload the help file, so that we can investigate:

https://www.sapien.com/support/upload

And what version of PowerShell are you using?

Re: No line breaks between Introduction and Command Sections for HelpWriter

Posted: Fri Jun 23, 2017 1:35 pm
by adbertram
V 5.1.14393.1198

Help file attached.

Re: No line breaks between Introduction and Command Sections for HelpWriter

Posted: Fri Jun 23, 2017 3:06 pm
by davidc
It looks like PowerShell trims and truncates the Introduction with the Command section no matter what spacing is used. I recommend moving the Introduction text into the Command section.

Note: In order to align the text columns, I recommend using a fixed-point font in Options->Editor->Font and Color.

Re: No line breaks between Introduction and Command Sections for HelpWriter

Posted: Fri Jun 23, 2017 3:37 pm
by davidc
[TOPIC MOVED TO POWERSHELL HELPWRITER FORUM]