Can CSS be used to visually indicate when a line is wrapped? For instance, consider the following code inside a "pre" block:
<html><body>Hello World</body></html>
I have set white-space to pre-wrap to prevent horizontal scrolling issues. It displays like this:
<html><body>Hello World</body>
</html>
However, I would like to show some sort of indication that the line has wrapped. Something along these lines:
<html><body>Hello World</body>
| </html>
This way, I can inform the reader that the | symbol signifies a line wrap. This could be particularly helpful in situations where breaking mid-line is undesirable, such as:
form.getSubmit().style.background
Color = 'green';