zestedesavoir / zmarkdown

Live demo: https://zestedesavoir.github.io/zmarkdown/
MIT License
226 stars 53 forks source link

Not able to recreate a table with remark-grid-tables #444

Closed sk8Guerra closed 3 years ago

sk8Guerra commented 3 years ago

I'm trying to create a table like this:

Screen Shot 2021-08-14 at 12 24 23

This way:

Screen Shot 2021-08-14 at 12 24 44

But the desired result is not correct:

Screen Shot 2021-08-14 at 12 25 21

Because there is still a division in the last cell.

Is this supported?

artragis commented 3 years ago

I don't think it's possible de produce such a table with HTML. I can't even produce them with Libre Office.

sk8Guerra commented 3 years ago

Hmm, you're right. Google Sheets doesn't allow it either. 🤔

Do you think it is because HTML doesn't support it?

StaloneLab commented 3 years ago

I just tested it in HTML, and indeed it doesn't seem to be supported. The code that should generated your result would be:

<table>
  <tr>
    <td>1</td>
  </tr>

  <tr>
    <td colspan="2" rowspan="2">3</td>
  </tr>
</table>

Which gives nothing good at all, you can see the result on the image below:

Capture du 2021-08-20 22-09-42

Hence I don't think we can handle it properly in the plugin, sorry.