I have a long paragraph written in Chinese. Chinese does not use spaces, as the punctuation automatically adds spacing around itself. The problem is, when I put the long paragraph into VSCode, there's no way to replace the text with new lines in the source code, taking advantage of the fact that a new line in source code renders as a space in HTML. This results in a very long horizontal scrollbar.
Here's what I mean: when you have an English paragraph, you can do something like this:
<div>
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
hello hello hello hello hello hello
</div>
In Chinese, if you did that, it would add an extra space in between the characters:
<div>
你好。你好。
你好。你好。
你好。你好。
你好。你好。
你好。你好。
你好。你好。
你好。你好。
</div>
Notice the extra space in between every other gap. Instead, I want it to all be on one line, which I currently can only achieve with this ugly code:
<div>
你好。你好。你好。你好。你好。你好。你好。你好。你好。你好。你好。你好。你好。你好。
</div>
I don't simply want to wrap the code in my editor; I want some solution where I can write it in separate lines. How do I do this?
Basically, I don't want any line breaks in the output, only in the source code.