Skip to content

Conversation

@xtanion
Copy link

@xtanion xtanion commented Oct 5, 2025

Closes 39152

Output:
image

Release Notes:

  • N/A or Added/Fixed/Improved ...

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 5, 2025
@Angelk90
Copy link
Contributor

Angelk90 commented Oct 5, 2025

@xtanion : To better check the result, show only the preview, to better see the dimensions.

@xtanion
Copy link
Author

xtanion commented Oct 6, 2025

Hi @Angelk90, I've attached a screenshot with only the preview and added some more examples. PTAL

image

Sample:

| City           | Population (approx.) | Known For                          |
|----------------|----------------------|------------------------------------|
| New York       | 8,500,000            | Statue of Liberty, Wall|
| Los Angeles    | 4,000,000            | Hollywood, film industry           |
| Chicago        | 2,700,000            | Architecture, deep-dish pizza      |
| Houston        | 2,300,000            | NASA, energy industry              |
| Miami          | 470,000              | Beaches, Latin culture             |
| San Francisco  | 800,000              | Golden Gate Bridge, Silicon Valley |
| Las Vegas      | 650,000              | Casinos, nightlife                 |



| City           | Population (approx.) | Known For                          |
|----------------|----------------------|------------------------------------|
| New York       | 8,500,000            | Hello World, Hello World, Hello World, Hello World|
| Los Angeles    | 4,000,000            | Hollywood, film industry           |
| Chicago        | 2,700,000            | Architecture, deep-dish pizza      |
| Houston        | 2,300,000            | NASA, energy industry              |
| Miami          | 470,000              | Beaches, Latin culture             |
| San Francisco  | 800,000              | Golden Gate Bridge, Silicon Valley |
| Las Vegas      | 650,000              | Casinos, nightlife                 |


| City           | Population (approx.) | Known For                          |
|----------------|----------------------|------------------------------------|
| New York, New Yorks, New York, New York, New York       | 8,500,000 - 9,500,000 - 10,500,000, 11,500,000            | Hello World, Hello World, Hello World, Hello World|
| Los Angeles    | 4,000,000            | Hollywood, film industry           |
| Chicago        | 2,700,000            | Architecture, deep-dish pizza      |
| Houston        | 2,300,000            | NASA, energy industry              |
| Miami          | 470,000              | Beaches, Latin culture             |
| San Francisco  | 800,000              | Golden Gate Bridge, Silicon Valley |
| Las Vegas      | 650,000              | Casinos, nightlife                 |

@RemcoSmitsDev
Copy link
Contributor

Hey, I was just testing out your PR, and noticed that this is actually not the right fix, as it breaks on smaller headings:

Screenshot 2025-10-07 at 16 39 40

Not sure if you have seen this PR, but I think that this is a better fix, as it seems closer to what the result should be.
Screenshot 2025-10-07 at 16 50 10

It's still not correct, because it breaks when the heading size grows:
Screenshot 2025-10-07 at 16 54 51

@bennetbo
Copy link
Member

bennetbo commented Oct 7, 2025

Thanks for working on this, closing in favour of #39542.

@bennetbo bennetbo closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

markdown_preview: Table does not responsively scale itself

4 participants