• Consider the following code snippet.

        console.log("this line is all right");
        console.log("but this line is indented");

    This should be a part of the same bullet point but it's not.

The indentation seems to be correct. So, why is this happening? How do I fix it?

Edit: If you edit the question you'll notice that it looks different in the preview.

This is what it looks like when you edit it.

  • It didn't look the same in the preview. – Aadit M Shah Nov 14 '19 at 15:40
  • adding a screenshot would help clarifying the confusion. – CptEric Nov 14 '19 at 15:43
  • @IamMonica No, the code snippet in the final output is also indented by an extra four spaces. – Aadit M Shah Nov 14 '19 at 16:51

You must log in to answer this question.

Browse other questions tagged .