How to collapse / toggle pieces of text inside notes?

Please, take a look at my answer/solution in the discussion tessus pasted a link to, above.