JSFiddle - React, Tailwind, and code Playground

by JamesD

HTML

<p></p>

CSS

p:after {
    content:"Line 1\ALine 2";
    white-space:pre-wrap;
}