2

Why does the code formatting not work in this edit?

I tried to fix the quotes from files in the question, but somehow the 4-space prefix is ignored.

1 Answer 1

7

You need 8 spaces for code formatting in lists.

1. This is a test

        With code

will display as:

  1. This is a test

    With code
    
1
  • This makes sense. I was not aware that the code block will be still inside the list. I updated the edit request.
    – allo
    Commented Sep 7, 2018 at 15:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .