Which is the correct way to create bullet points in Markdown — using space+hyphen or tab+hyphen ?

- first level bullet point
 - space+hyphen 
- first level bullet point
    - tab+hyphen 
you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago (2 children)

I believe either will work, so your call. If you really want to spark a tabs vs spaces holy war, I'll throw my vote in for tabs: they're semantic, whereas spaces are not--the meaning of a tab is "this is one level of indentation". Using spaces for indentation is like using <span class="italic"> instead of <i> for italics.

  • source
  • hideshow 2 child comments
  • [–] 4 points 1 year ago

    @boatswain Seconding the semantic nature of tabs (have your $EDITOR display a literal tab as anything from 1 to N spaces), but I'm stuck in a world where Python standardized on 4-space indentation, so the ol' "When in Rome" adage applies. :sigh:@happeningtofry99158

  • source
  • parent