pre tag for html code code example
Example 1: preformatted text html
<pre> the space before this sentence will stay! so will the following space! </pre>
Example 2: adding pre tag javascript
<Card>
<CardHeader title="Output" />
<CardContent>
<pre style={{ backgroundColor: "white" }}>{JSON.stringify(values, null, 2)}</pre>
</CardContent>
</Card>