Skip to content

Instantly share code, notes, and snippets.

@PeeHaa
Created August 27, 2012 15:52
Show Gist options
  • Select an option

  • Save PeeHaa/3489721 to your computer and use it in GitHub Desktop.

Select an option

Save PeeHaa/3489721 to your computer and use it in GitHub Desktop.
numbered lists
  1. test 1
  2. test 2
@CommittedSpin

Copy link
Copy Markdown
  1. test
    TEST

@lubaochuan

Copy link
Copy Markdown
  1. will it work when

  2. there is a linebreak between items?

@lubaochuan

lubaochuan commented Nov 18, 2020

Copy link
Copy Markdown
  1. will it work when there is a code block
hello world
  1. between items?

@09jvilla

Copy link
Copy Markdown
  1. test1
  2. test2

@yossisegev

Copy link
Copy Markdown
  1. item1
  2. item2

@henryhu712

Copy link
Copy Markdown
  1. first
  2. second

@Krarilotus

Copy link
Copy Markdown
  1. hm this does work
  2. this too

asodkasjdladj

  1. new list start
  2. new list followup
  3. newlist 3rd

@AdamJedrzejko

Copy link
Copy Markdown

This is Spring Boot øfk idk

1. OpenAPIkdjfdksjf

Project includes lkfmdlksmfl

1. How to ulfjdkf

In lfkjdf

1.1. REST API for companies

@bsyouness

bsyouness commented Aug 21, 2024

Copy link
Copy Markdown

Doesn't work for headers!

1) test

stuff in between

1) test

@DmitryMyadzelets

Copy link
Copy Markdown

When only 1. is used (including the nested):

  1. one
    1. one
    2. two
  2. two
    1. one
    2. two

@DmitryMyadzelets

Copy link
Copy Markdown

When only 5. is used (with one empty line before)

  1. first
  2. second

When only 5. is used (with no empty line before)
5. first
5. second

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