Hello. That's a v22 bug, it stopped working for me too. Now I'm only able to add one split \n and others are ignored. But it's still possible to trick UI parser in Type Properties window by manually escalating number of spaces that serve as prefix and suffix for each split \n. For example, first split:
Second split:
Third split:
Notice the increasing number of spaces for each split before and after "\n".
Obviously it gets annoying to manually format splits like this so I set up a Python script to automate it. Just create a regular shelf tool, fill in name and label and under Script paste this:
import tkinter as tk
def fix_hda_tooltips():
root = tk.Tk()
root.withdraw()
try:
raw_text = root.clipboard_get()
except tk.TclError:
return
lines = [line.strip() for line in raw_text.splitlines() if line.strip()]
if not lines:
return
out = []
for idx, line in enumerate(lines):
if idx == 0:
out.append(line)
else:
pad = " " * idx
out.append(f" {pad}\\n{pad} {line}")
root.clipboard_clear()
root.clipboard_append("".join(out))
root.update()
root.destroy()
print("Formatted text copied back to clipboard!")
fix_hda_tooltips()
So now you're going to write help description for your parameter in random text editor like Notepad. Then you will format the text by clicking Enter to split sentences as you wish.
For example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus fringilla dolor, ut faucibus erat tempus eu.
Duis pharetra iaculis lorem quis fringilla. Curabitur mollis hendrerit mauris, nec gravida tellus.
Mauris pharetra augue eros, ac luctus mauris viverra non. Curabitur mollis mollis ante, quis placerat diam laoreet ut.
Praesent finibus quam ut ante gravida, nec luctus risus feugiat.
Script will recognize where you pressed Enter and correctly format the paragraph. Also, console will print a message saying formatted text is copied back to clipboard:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec tempus fringilla dolor, ut faucibus erat tempus eu. \n Duis pharetra iaculis lorem quis fringilla. Curabitur mollis hendrerit mauris, nec gravida tellus. \n Mauris pharetra augue eros, ac luctus mauris viverra non. Curabitur mollis mollis ante, quis placerat diam laoreet ut. \n Praesent finibus quam ut ante gravida, nec luctus risus feugiat.
Once it's automatically copied to your clipboard you will simply go to your node's Type Properties and paste the clipboard into Help field. Now you can do the same for all other help descriptions. Write the description in notepad, press Enter to format and organize the paragraph as you wish, copy it, then click on the shelf tool which properly adds \n in every place where you pressed "Enter" and copies it back to clipboard, then you can ctrl v that into your parameter's help field.
I hope that helps!