Skip to main content
correct code (entity shouldn't be indented to be part of the code block...) and shorten
Source Link

It is also possible toYou can use an HTML carriage return entity 
 While
 or an invisible character like the soft hyphen ­. While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):works

    code block 1
    

    code block 2

Results in:

code block 1

code block 2

UPDATE: The same can be achieved using a simpler soft hyphen Note that Stack Exchange's interpreter requires an additional line break after the entity: ­ (unlike some other Markdown interpreters).

It is also possible to use HTML carriage return entity 
 While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):

    code block 1
    

    code block 2

Results in:

code block 1

code block 2

UPDATE: The same can be achieved using a simpler soft hyphen entity: ­

You can use an HTML carriage return entity 
 or an invisible character like the soft hyphen ­. While not ideal, it works

    code block 1


    code block 2

Results in:

code block 1

code block 2

Note that Stack Exchange's interpreter requires an additional line break after the entity (unlike some other Markdown interpreters).

Improved answer
Source Link

It is also possible to use HTML carriage return entity 
 While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):

    code block 1
    

    code block 2

Results in:

code block 1

code block 2

UPDATE: The same can be achieved using a simpler soft hyphen entity: ­

It is also possible to use HTML carriage return entity 
 While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):

    code block 1
    

    code block 2

Results in:

code block 1

code block 2

It is also possible to use HTML carriage return entity 
 While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):

    code block 1
    

    code block 2

Results in:

code block 1

code block 2

UPDATE: The same can be achieved using a simpler soft hyphen entity: ­

Source Link

It is also possible to use HTML carriage return entity 
 While not ideal, it allows for separation of two code blocks. However, current Stack Exchange interpreter requires a additional line break (unlike some other Markdown interkreters):

    code block 1
    

    code block 2

Results in:

code block 1

code block 2