Example:

Column 1 Column 2
Cell 1, Row 1 Cell 2, Row 1
Cell 1, Row 2 Cell 1, Row 2

How it’s in the browser:

  • helpImTrappedOnline@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    19 days ago
    Column 1 Column 2
    Cell 1, Row 1 Cell 2, Row 1
    Cell 1, Row 2 Cell 1, Row 2

    Your post doesn’t render for me. It seems fine to me when I copy it, does it show up for you? I just copied pasted what you posted.

    If you put a line breaks after "example: " does it work (make sure theres no space before the first pipe)?

    Your post works fine if I open it in my browser too. It seems that Boost doesn’t like text before the pipe symbol.

    • UndercoverUlrikHD 🇳🇴@programming.devOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      19 days ago

      It seems like with further testing that boost doesn’t handle it properly when there isn’t a double newline before the table, even though it works fine in the default lemmy browser and in tesseract

      • JohnEdwa@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        18 days ago

        Boost is based on Old Reddit markdown parser which is close, but not identical to the one Lemmy has, and there are some edge cases and compatibility issues.

        FWIW, the GFM extension used for Markdown tables defines that a newline should be required for a table to function:

        You must include a blank line before your table in order for it to correctly render.

        But as an app for browsing Lemmy, Boost should match whatever Lemmy does, even if it does things “wrong”.