Markdown Tables Disappearing

Description

I’m self-hosting and running into an issue with tables. Whenever I create or paste a Markdown table into the app, the table markdown doesn’t get included when I export the document as an MD file. On top of that, if I focus on a table or cell and press any key, the entire table disappears. This has been happening for the past few months and I’m not sure why.

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • massivebox
      PRO

      I suspect one of the plugins you have enabled could be causing the issue.

      Have you tried disabling all plugins, then enabling them one by one to see if the problem still occurs?

    • vishal19121981
      VIP Warrior

      You can do one thing, take the screenshot of the table, then convert that table (image) into base64 encoding and embed that via HTML block, (you can get script for that at powershell for windows or look similar way for other OS)

      For Windows this is the code (PowerShell)
      [convert]::ToBase64String((Get-Content image.png -Encoding byte))

      Embed into page as HTML element
      Example

      Replace
      iVBORw0KGgoAAAANSUhEUgAA...

      with actual encoded value