How can I single-space sample CSV data for posting purposes?

If I am trying to exhibit some sample CSV data in a post, I cannot seem to type the data in single space as the editor treats each line as a paragraph when it encounters a RETURN/ENTER (end of line). Is there a way to do this without using the PRE and /PRE formatting symbols? Many thanks!

If I got you right using the PRE tags are the best way to post CSV sample data.

Many thanks Mr Olaf. I thought the use of PRE tags was strictly for Powershell code.

Best,

PRE is for anything PREformatted, e.g., you need a monospaced font and preservation of whitespace.