Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table export show accommodate colspan #296

Open
robertandrews opened this issue Oct 18, 2022 · 0 comments
Open

Table export show accommodate colspan #296

robertandrews opened this issue Oct 18, 2022 · 0 comments

Comments

@robertandrews
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant