• Lojcs@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 days ago

    Your viewer must be parsing #8 as # 8.

    You’re free to not ‘waste time’ with anti-virus but I prefer the peace of mind.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        14 days ago

        As Lojcs said…

        The Markdown format expects a space after whatever number of #s you put at the start, for it to be a corresponding level header.
        Due to different parsers having different types of leeways, it becomes a bit difficult to make sure stuff always matches.
        e.g. I was once mistaken about the way tabs work for multi-level bullets and numbering because GitLab had more leeway. Using discount, I realised where I was being wrong.

        • Nalivai@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          13 days ago

          The whole problem is because format doesn’t actually expects the space there, and it’s left to the interpretation of the parser

          • ulterno@programming.dev
            link
            fedilink
            English
            arrow-up
            0
            ·
            13 days ago

            I thought the whole problem was that there was no de-facto standard and people kept on making their deviations while still calling it Markdown.

            I personally like how Doxygen implements it.