Correct way to align code block inside a list item

you are seeing the below box because the first line of your code block ```js has spaces at the start. If you remove them to be at the start it will disappear.

FYI this is only because you have a bullet point before the code block. for some reason not showing after.

1 Like