I’ve noticed this on a lot of places that use Markdown. The bullet points have more space above than they do below. This makes it confusing visually because it looks like the text is associated with the item below, even though logically it should be related to the item above.

You can see this happening on my lemmy post here (https://lemmy.ca/post/11285664), but it also happens in other markdown based apps like Joplin

So why was it designed like that? Is it meant to convey something, or is there a way that we are supposed to use Markdown to prevent that?

As a quick example, see here:

  • List item A

  • List item B

    • List item B.1
    • List item B.2
  • List item C

  • snowe
    link
    fedilink
    17 months ago

    CommonMark itself even claims that markdown doesn’t have a spec, so not sure you can claim it’s not badly defined. https://spec.commonmark.org/0.30/#why-is-a-spec-needed-

    asciidoc is much better defined, has hardly any edge cases, supports vastly more features, and is a lot easier to use (the lack of a spec doesn’t ever get in the way)

    • @CaptObvious
      link
      17 months ago

      Well, there’s the replacement then.

      • snowe
        link
        fedilink
        07 months ago

        CommonMark has been out for almost a decade and still isn’t used ubiquitously, while asciidoc is standard everywhere.