How do you make lettered lists using markdown?

前端 未结 6 1023
青春惊慌失措
青春惊慌失措 2020-12-08 00:07

Markdown allows ordered lists using numbers. How can I instead get an ordered list using letters? i.e.

A. the letter A
B. the letter B
C. etc
         


        
6条回答
  •  有刺的猬
    2020-12-08 00:14

    Markdown itself cannot do that, but since you can put HTML in it, this provides a pretty simple way to do it:

    1. Coffee
    2. Tea
    3. Milk

    Some derivations on some platforms might interpret only a very strict subset of HTML. For example, StackOverflow doesn't support the type attribute. But Wikipedia's MediaWiki Markdown does, and the GitHub Wiki Markdown does too.

提交回复
热议问题