• rtxn@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    edit-2
    2 days ago

    Exactly which flavours of Markdown are targeted/required by this specification?

    • 洪 民憙 (Hong Minhee)@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      19 hours ago

      Thanks for the feedback! The style choices are intentional and all valid CommonMark:

      • Heading styles: Setext (===/---) for H1/H2 makes major sections visually prominent in plain text, while ATX (###) is used for deeper levels. This hybrid approach optimizes readability in the raw source.

      • Four tildes: Tildes are valid CommonMark delimiters, just less common. They’re chosen because code often contains backticks (shell commands, string literals), so tildes avoid visual clutter.

      The core philosophy is that Markdown should be readable as plain text, not just after rendering. These choices prioritize scanning structure in a text editor. That said, it’s definitely an opinionated style—not for everyone!

      • FizzyOrange@programming.dev
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        7 hours ago

        code often contains backticks

        I’ve never seen code contain three backticks though.

        I guess your heading logic kind of makes sense but tbh I still hate it.