Skip to content

Table export show accommodate colspan #296

@robertandrews

Description

@robertandrews

Is your feature request related to a problem? Please describe the problem you're trying to solve.

When an in-post table whose <td>s or <th>s containing a colspan is exported, they are written to Markdown in such a way that a column may be hidden from rendering.

Example source:

<th style="text-align: left;" colspan="2">Presence</th>

Markdown apparently does not support colspan/rowspan.

The following table code...

| Presence |
|---|
| The campaign showed a range of women from all walks of life | 36% |
| The women in the campaign felt authentic and a realistic portrayal | 63% |
| Perspective |
| The women in the campaign drove the narrative | 54% |
| The women in the campaign were not objectified | 51% |
| The women in the campaign challenged outdated perspectives in society | 38% |
| Personality |
| The advert featured stereotypical interpretations of female beauty | 42% |
| The women in the adverts came across as empowered and in control of their lives | 45% |

The table, when rendered, therefore omits the important second column...

IMG_0516

Describe the solution you'd like

Markdown allows use of HTML to help out with non-supported formatting.

However, it may be more useful, with an aim of achieving Markdown exclusivity, to find a Markdown-only solution. This may involve, where a colspan is detected, instead inserting the equivalent number of blank columns.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions