Merging Cells in Markdown Tables

It’s currently not possible, and Discourse doesn’t support colspan or rowspan attributes for <td> and <th> elements. I don’t think it’s the roadmap either.

It is possible that you can add the support for this with a custom plugin. See: Whitelisting HTML tags / attributes

the list of supported HTML elements is here: discourse/allow-lister.js at main · discourse/discourse · GitHub. The table tags seem to be here: discourse/table.js at main · discourse/discourse · GitHub

Maybe this will be of some help.

If you want to request allowing colspan or rowspan attributes in core, you may want to create a new feature topic. :slight_smile:

2 Likes