How do you make lettered lists using markdown?

前端 未结 6 1022
青春惊慌失措
青春惊慌失措 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:33

    It doesn't appear that standard Markdown has this capability. You can:

    1. Use CSS, by putting this somewhere in your markdown document (note, this will effect all ordered lists in the document)
    
    
    1. Use an extended version of markdown. Pandoc markdown has a fancy_lists extension that will allow you to mark lists with letters and roman numerals.

      http://johnmacfarlane.net/pandoc/demo/example9/pandocs-markdown.html

提交回复
热议问题