When composing posts on dev.to, is there a way to dispensary display error messages so they appear as console output, but in red?

I’ve tried things like:


```error
My error message
```

or

<pre>
<code style="color:red;font-weight:bold">
My error message
</code>
</pre>

to no avail…

Is there a way to achieve this?