Remco Smits
79ef10bfc3
markdown: Add support for HTML table column align attribute ( #41163 )
...
This PR allows you to define `align="right"` for example to change the
default alignment on **HTML** table columns. This PR also refactors
where we store the alignments in order to make it so you can define it
column based instead of only row based.
See that the `Revenue` column is left aligned instead of the default
`centered`.
**Result**
<img width="1161" height="177" alt="Screenshot 2025-10-25 at 11 01 38"
src="https://github.com/user-attachments/assets/94bda4f0-00c1-4726-a3bd-99b3f2573ef5 "
/>
**Code example**
```HTML
<table>
<tr>
<th rowspan="2">Region</th>
<th colspan="2" align="left">Revenue</th>
<th rowspan="2">Growth</th>
</tr>
<tr>
<th>Q2 2024</th>
<th>Q3 2024</th>
</tr>
<tr>
<td>North America</td>
<td>$2.8M</td>
<td>$2.4B</td>
<td>+85,614%</td>
</tr>
<tr>
<td>Europe</td>
<td>$1.2M</td>
<td>$1.9B</td>
<td>+158,233%</td>
</tr>
<tr>
<td>Asia-Pacific</td>
<td>$0.5M</td>
<td>$1.4B</td>
<td>+279,900%</td>
</tr>
</table>
```
Release Notes:
- markdown preview: Add support for `HTML` table column `align`
attribute
2025-10-25 20:12:05 +02:00
..
2025-10-22 17:55:26 +00:00
2025-10-20 13:52:05 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 03:57:33 +00:00
2025-10-24 07:48:14 +00:00
2025-10-22 17:55:26 +00:00
2025-10-19 15:52:28 +00:00
2025-10-24 18:11:39 +00:00
2025-10-20 08:35:28 -03:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 21:56:57 +02:00
2025-10-23 17:17:41 +00:00
2025-10-21 10:43:22 +00:00
2025-10-17 18:58:14 +00:00
2025-10-25 02:02:06 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-23 22:38:40 -06:00
2025-10-17 18:58:14 +00:00
2025-10-20 13:26:20 +02:00
2025-10-20 22:41:13 -06:00
2025-10-21 10:43:22 +00:00
2025-10-21 10:43:22 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 07:52:51 -04:00
2025-10-23 23:37:23 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 13:25:58 -06:00
2025-10-23 21:04:22 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 23:37:23 +00:00
2025-10-23 14:13:35 -04:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-21 10:43:22 +00:00
2025-10-24 23:08:19 +00:00
2025-10-22 17:55:26 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 07:52:51 -04:00
2025-09-11 13:56:06 -07:00
2025-10-24 07:52:51 -04:00
2025-10-24 07:52:51 -04:00
2025-10-24 07:52:51 -04:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 22:38:40 -06:00
2025-10-20 10:30:06 +00:00
2025-10-17 18:58:14 +00:00
2025-10-20 23:54:56 +03:00
2025-10-23 22:38:40 -06:00
2025-10-17 18:58:14 +00:00
2025-10-23 22:38:40 -06:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 00:12:06 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 23:37:23 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-23 20:53:19 +00:00
2025-10-17 18:58:14 +00:00
2025-10-21 10:43:22 +00:00
2025-10-24 13:25:58 -06:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-23 23:37:23 +00:00
2025-10-22 22:47:16 +00:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-25 20:12:05 +02:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 13:06:29 -04:00
2025-10-17 18:58:14 +00:00
2025-10-23 17:57:52 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-20 17:20:09 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 23:37:23 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 21:56:57 +02:00
2025-10-20 18:23:46 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 17:17:41 +00:00
2025-10-23 07:37:37 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-23 16:46:27 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 22:38:40 -06:00
2025-10-25 01:44:32 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-25 01:44:32 +00:00
2025-10-24 18:19:53 +02:00
2025-10-25 01:13:53 +03:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 19:11:48 +00:00
2025-10-24 07:52:51 -04:00
2025-10-23 21:45:48 -03:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 23:37:23 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 00:54:46 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 05:47:53 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-20 17:20:09 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-23 23:37:23 +00:00
2025-10-23 19:11:48 +00:00
2025-10-23 04:23:25 +05:30
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 16:46:27 +00:00
2025-10-22 19:52:38 +00:00
2025-10-24 07:52:51 -04:00
2025-10-24 14:03:01 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-25 01:44:32 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-23 11:15:12 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-25 01:44:32 +00:00
2025-10-21 11:29:43 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:11:39 +00:00
2025-10-25 01:44:32 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-21 10:30:21 +00:00
2025-10-22 19:52:38 +00:00
2025-10-20 15:26:41 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00