• apparia@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    For pedantry’s sake:

    Two dashes – -- – in Markdown is usually rendered as an en-dash – more common in British-adjacent styles and usually surrounded by spaces.

    Three dashes—---—in Markdown is rendered as an em-dash—more commonly associated with American styles and usually (though not always) without spaces.

    • korazail@eviltoast.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      21 hours ago

      Hah. Neat!

      For pedantry…

      My understanding was that en-dash was a range, and em-dash was a change in topic or a parenthetical, so I’ve been using the wrong one but for the right reason. This may be an American style distinction, though. Time to jump into a new rabbit hole.

      • apparia@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        I’ve always just used a hyphen for ranges, without having any idea whether that makes me a philistine. A quick search says that, like most of this, it varies depending on who you ask.

        Good luck in your rabbit hole!