Skip to content

Instantly share code, notes, and snippets.

@jcrites
Last active July 14, 2021 20:58
Show Gist options
  • Save jcrites/396264a4cd387f4ccae075913d332120 to your computer and use it in GitHub Desktop.
Save jcrites/396264a4cd387f4ccae075913d332120 to your computer and use it in GitHub Desktop.
1. Hello
   
   World
2. More stuff

In GitHub Markdown, the preceding content (where World and the line preceding it are indented with spaces) will render as:

  1. Hello

    World

  2. More stuff

1. Hello
    
World
2. More stuff

Similarly, the indentation is necessary; without it, the list paragraph ends, the list ends, and a new regular paragraph ends, in which the "2. More stuff" is included in that paragraph.

  1. Hello

World 2. More stuff

With an additional separator the user could begin an entirely new list

1. Hello
    
World

2. More stuff

  1. Hello

World

  1. More stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment