Search code examples
markdown

Should I use asterisks or dashes for bullets in Markdown?


I have noticed that asterisks (*) and dashes (-) both generate bullets in Markdown. Is there a preferred symbol to use or does it really not matter?

With Bullets:

enter image description here

enter image description here

With Dashes:

enter image description here

enter image description here


Solution

  • There is no real difference. Your Markdown may become more readable if you chose one of these for each level, e.g.

    - first level
    
      * second level
    
    - first level again
    

    But other than that, it's just a matter of preference.