3 replaced http://stackoverflow.com/ with https://stackoverflow.com/
source | link

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.

In the following examples, line breaks are denoted by the ↵ symbol.


  • unordered
    
 - ↵
↵
        example

  1. ordered
    
1. ↵
↵
        example

Also see this answerthis answer for a real-world example.

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.

In the following examples, line breaks are denoted by the ↵ symbol.


  • unordered
    
 - ↵
↵
        example

  1. ordered
    
1. ↵
↵
        example

Also see this answer for a real-world example.

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.

In the following examples, line breaks are denoted by the ↵ symbol.


  • unordered
    
 - ↵
↵
        example

  1. ordered
    
1. ↵
↵
        example

Also see this answer for a real-world example.

    Post Made Community Wiki by animuson
2 added 56 characters in body
source | link

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.


 

Examples:In the following examples, line breaks are denoted by the ↵ symbol.

 
  • unordered
    
 - 

        example

  1. ordered
    
1. 

        example

Or,Also see this answer for a real-world example.

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.


 

Examples:

  • unordered
    
 - 

        example

  1. ordered
    
1. 

        example

Or, see this answer for a real-world example.

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.

In the following examples, line breaks are denoted by the ↵ symbol.

 
  • unordered
    
 - 

        example

  1. ordered
    
1. 

        example

Also see this answer for a real-world example.

1
source | link

If you want to start a list item with a block of code, rather than text, you need to add at least a space character after the bullet or number, then make two line breaks before starting to indent the code block with 8 spaces.


Examples:

  • unordered
    
 - ↴
↴
        example

  1. ordered
    
1. ↴
↴
        example

Or, see this answer for a real-world example.