this post was submitted on 20 Jun 2025
7 points (81.8% liked)

ObsidianMD

4626 readers
17 users here now

Unofficial Lemmy community for https://obsidian.md/

founded 2 years ago
MODERATORS
 

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
[–] boatswain 6 points 6 days 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.

[–] gumnos@mastodon.bsd.cafe 3 points 6 days 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

thanksalot! I guess I will stick with tab then