No line breaks between Introduction and Command Sections for HelpWriter

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
adbertram
Posts: 99
Last visit: Fri Aug 18, 2017 11:31 am

No line breaks between Introduction and Command Sections for HelpWriter

Post 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?
Attachments
2017-06-23_11-14-28.png
2017-06-23_11-14-28.png (186.88 KiB) Viewed 17041 times
2017-06-23_11-13-44.png
2017-06-23_11-13-44.png (163.92 KiB) Viewed 17041 times
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post 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?
David
SAPIEN Technologies, Inc.
User avatar
adbertram
Posts: 99
Last visit: Fri Aug 18, 2017 11:31 am

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

Post by adbertram »

V 5.1.14393.1198

Help file attached.
Attachments
PSADSync-Help.xml
(30.82 KiB) Downloaded 567 times
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post 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.
David
SAPIEN Technologies, Inc.
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post by davidc »

[TOPIC MOVED TO POWERSHELL HELPWRITER FORUM]
David
SAPIEN Technologies, Inc.
This topic is 6 years and 8 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.