I wrote this in the <textarea>:
html {
font-size: 16px; /* por defecto son 16 píxeles */
}
header {
font-size: 20px;
width: 2rem;
}
and in the preview mode, its sees this:

if you can see, the code comment aren't working well, because its sees just the slash but not the asterisk.
This happen because this part of the preview__mode.js code:
htmlTexto = htmlTexto.replace(/\*(.+?)\*/g, '<i>$1</i>');
its replacing asterisks with HTML italic tags, including code snippets. However, I don't know how to exclude it from this replacement.
I wrote this in the
<textarea>:and in the preview mode, its sees this:
if you can see, the code comment aren't working well, because its sees just the slash but not the asterisk.
This happen because this part of the preview__mode.js code:
its replacing asterisks with HTML italic tags, including code snippets. However, I don't know how to exclude it from this replacement.