Single spacing of text when posting

When I am typing sample data in a post, I am unable to single-space them, especially when the sample data to be shown is quite short (i.e., less than the total width of the post window). Is there a way? Would be grateful for any tips/advice/hints.

Many thanks.

Looks like this is a website\forum issue\question?

There is a forum dedicated for that…

(however… does it work better when typing in text mode instead of visual mode, and using the correct /pre markers?)


Thanks, I will re-post to that forum.