Repository: streamlit/streamlit
Pull request: Allow adding the Streamlit logo in markdown
## Describe your changes

Adds a new remark extension that converts `:streamlit:` in Markdown into a small image of the Streamlit logo. 

![CleanShot 2024-10-15 at 12 57 24@2x](https://github.com/user-attachments/assets/0ba6810e-3f84-4f08-b349-e8af0c945376)

To enable this remark extension in widget labels, this PR also allows images in widget labels (which we previously disallowed). It sets their max height to be equal to the text height to prevent bad UI. 

![CleanShot 2024-10-15 at 12 58 07@2x](https://github.com/user-attachments/assets/d46a082d-c5f0-409f-8d65-569b670c6108)


## GitHub Issue Link (if applicable)

Closes #2826

## Testing Plan

- Added unit test that checks that the image is correctly inserted
- Added this feature to our existing e2e test for markdown features

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.


Problem statement:
Make :streamlit: become a streamlit logo
Via @tvst :

Make this work:

`st.write("Made in :streamlit: with :heart:")`

---

Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.

**If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.**

Hints from issue discussion:

Commit message: Update snapshots

Patch to review:
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[chromium].png
deleted file mode 100644
index bf28cc614221..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[chromium].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[firefox].png
deleted file mode 100644
index 3470dfbecdcb..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[firefox].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[webkit].png
deleted file mode 100644
index dec4c6c182eb..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_image[webkit].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[chromium].png
index f8ce91c4f971..c825c7d5306d 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[webkit].png
index ca55607c2414..938a9a61c3f1 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-invalid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[chromium].png
index 4131733fc17e..f59149ab5938 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[webkit].png
index 6dd8fc569484..ca9f574ea943 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[chromium].png
index 8a563b0ed618..887ae1469137 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[firefox].png
index 8cdeb90d0e34..b50cf78bc6ad 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[webkit].png
index 365e576e2b6a..3cf53221d0bc 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_button-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[chromium].png
index 8e078b742a53..e913264b6f17 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[webkit].png
index 4761127d5953..ca564e75241f 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_link[webkit].png
index 7f8dd0f41384..6c33f8ba7a46 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[chromium].png
index ba170b2c9bdd..79ed757725fb 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[firefox].png
index f4e371735d99..c00519a4fa33 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[webkit].png
index e159766ad4f0..2a7a3733ce8e 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_checkbox-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[firefox].png
index 49b79fa00759..03858f828378 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[webkit].png
index 5c5d4b80fa39..0c681002bfaf 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-invalid_ordered-list[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_colored[webkit].png
index 36c3b4f2c56f..e1337b60b02e 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[chromium].png
index 8f36e1e6822a..2d9cd2eb7a83 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[firefox].png
index f263e54896c8..24108e59b168 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[webkit].png
index 1e003c8d0324..5b6bd71ef1aa 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[chromium].png
index 0ceda590fecf..deba6332a778 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[firefox].png
index e98f0f0068d6..2d7d18291221 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[webkit].png
index 4c9f123d224f..28facd6036d3 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_color_picker-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[firefox].png
index 93a2a64f1fbc..fa91a7b363cb 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[webkit].png
index b5903a95294d..e0de5904191f 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-invalid_table[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[chromium].png
index 9ae4fdd04edc..d8585c048a92 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[firefox].png
index 98bd42122e31..221e54ba9481 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_link[firefox].png
index 25d8ae1e3b82..3f9c1e977311 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[chromium].png
index c4eae09aee1c..68ef273d1639 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[firefox].png
index 95dce796a9a2..8a1ecbee501a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[webkit].png
index 9256c426dd19..13fa1f3e7079 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_date_input-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[chromium].png
index 483083d51e58..0e44ed49cd72 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[firefox].png
index cfd838106bc1..bb38accd48e6 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[webkit].png
index 2d1e46599d6d..9a749a5f06d9 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-invalid_task-list[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[chromium].png
index 1eab63f52d52..555cc1c63589 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[firefox].png
index 085eba1eba45..bb28448378be 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[webkit].png
index 80b94c2a22d9..9057f85d705a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[chromium].png
index 8370c3b271df..6a1cf7771aa0 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[firefox].png
index 8d5b0d15705b..4cfd099c3cc6 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[webkit].png
index 1fdb3d08bf55..05c580944933 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[chromium].png
index 843ec4cf9aa7..81b7f26645af 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[firefox].png
index 72c2844fead5..97d3726ffd62 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[webkit].png
index 804c4ad414d5..3b081c90ae91 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_expander-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-invalid_heading2[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-invalid_heading2[webkit].png
index 904a0fe58dcc..3b0253b08b7c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-invalid_heading2[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-invalid_heading2[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[firefox].png
index 37bf6c102745..98bd42122e31 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[webkit].png
index 8f9209d7b27b..7332849baf3d 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[firefox].png
index 3f9c1e977311..25d8ae1e3b82 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[webkit].png
index ea12adb9b19a..0ebec9832ce9 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[chromium].png
index 591171d4d7f5..0a9ec7c16331 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[firefox].png
index 5b08d7c1f89c..afc4b65f71f5 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[webkit].png
index 699e8c4cd377..82fd55612d22 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_file_uploader-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[firefox].png
index a176f05d46f1..e5de09225e50 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[webkit].png
index 15ce1da3ac7c..db46b3963424 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-invalid_unordered-list[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_colored[webkit].png
index 8f9209d7b27b..7332849baf3d 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[chromium].png
index 12bb5f753822..41f4a9796007 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[firefox].png
index 1c11c56cbe7d..448d8a10e671 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[webkit].png
index ea12adb9b19a..0ebec9832ce9 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[chromium].png
index e713f0c86493..3fa347dc2c94 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[firefox].png
index a3042b98ff60..72eb9bace964 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[webkit].png
index 86d8faeefdf4..d11027e12a5e 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_metric-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[firefox].png
index 98bd42122e31..221e54ba9481 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[firefox].png
index 25d8ae1e3b82..3f9c1e977311 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[chromium].png
index 87188c643fbb..68ef273d1639 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[firefox].png
index 95dce796a9a2..8a1ecbee501a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_multiselect-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[firefox].png
index 221e54ba9481..37bf6c102745 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[chromium].png
index 591171d4d7f5..dcc30b23ecda 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[firefox].png
index 95dce796a9a2..46c9695b451a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_number_input-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[chromium].png
index 7e4f4d519949..56500ac85ff4 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[firefox].png
index 261b4531b313..aa46f51b80af 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[webkit].png
index 7de7c1e2874b..efeab6d42bb6 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-supports_links_in_options[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[chromium].png
index d8585c048a92..9ae4fdd04edc 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[chromium].png
index 59dc84cae2d0..9ee1ec19cd9f 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[firefox].png
index 5b08d7c1f89c..cbed34369c4e 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_radio-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-invalid_task_list[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-invalid_task_list[chromium].png
index a7be2f1c2479..f8f441f787b1 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-invalid_task_list[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-invalid_task_list[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[firefox].png
index f38e82c570be..d767af24b44f 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[webkit].png
index 194f541af55d..cc0c0bdebb46 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[chromium].png
index 148faf5b7086..e64e949a76ef 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[firefox].png
index 9a6eb195b9b5..86fbb9a3dd72 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[webkit].png
index 33ea931ae3eb..9abf51a4e5ac 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[chromium].png
index a046046d6c79..f9a165739206 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[firefox].png
index 87fd920f37dd..0c6e81b69359 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[webkit].png
index 2ecba2cf333e..522c78a9e4be 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_select_slider-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[chromium].png
index 02bedc6a3a95..b4fc2c3c949f 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[firefox].png
index 1c6e698a6a9f..db77fba57425 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[webkit].png
index 973e14ab314d..0ea4b364a354 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-empty_label[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[firefox].png
index 98bd42122e31..221e54ba9481 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[firefox].png
index 25d8ae1e3b82..3f9c1e977311 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[chromium].png
index 87188c643fbb..68ef273d1639 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[firefox].png
index 95dce796a9a2..8a1ecbee501a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_selectbox-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[firefox].png
index 98bd42122e31..221e54ba9481 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[firefox].png
index 25d8ae1e3b82..3f9c1e977311 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[chromium].png
index 87188c643fbb..68ef273d1639 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[firefox].png
index 95dce796a9a2..8a1ecbee501a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_slider-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[chromium].png
index b3436ee004a3..43cbf36d6219 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[webkit].png
index 4f0f16c2e8ad..94e4168ffdd1 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-invalid_blockquote-and-hr[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[chromium].png
index 7cade6b483fa..36dbf5532d12 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[firefox].png
index ea3dc77a8baa..e59a5181a56a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[webkit].png
index 829ef59bbbee..15673bbfde74 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[firefox].png
index 3d0bf9343c11..ee245092a43c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[webkit].png
index 6ddb04a77179..811e4c882809 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[chromium].png
index 43a6577bfd67..8b2aac0aa2ba 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[webkit].png
index 03cacc6c6370..3726b7fa001b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_tab-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[chromium].png
deleted file mode 100644
index 97e58d7c0319..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[chromium].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[firefox].png
deleted file mode 100644
index 8f9be60e414e..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[firefox].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[webkit].png
deleted file mode 100644
index e154976d7de1..000000000000
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-invalid_image[webkit].png and /dev/null differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[firefox].png
index 221e54ba9481..37bf6c102745 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[chromium].png
index 591171d4d7f5..dcc30b23ecda 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[firefox].png
index 95dce796a9a2..46c9695b451a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_area-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[firefox].png
index 221e54ba9481..37bf6c102745 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[webkit].png
index 7332849baf3d..8f9209d7b27b 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_link[webkit].png
index 0ebec9832ce9..ea12adb9b19a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[chromium].png
index 591171d4d7f5..dcc30b23ecda 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[firefox].png
index 95dce796a9a2..46c9695b451a 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[webkit].png
index 61befdb6313d..bb350fd4ca1c 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_text_input-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-invalid_heading1[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-invalid_heading1[webkit].png
index 5803ebb0a2d1..af497b2662ea 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-invalid_heading1[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-invalid_heading1[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[firefox].png
index 37bf6c102745..98bd42122e31 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[webkit].png
index 8f9209d7b27b..7332849baf3d 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_colored[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[firefox].png
index 3f9c1e977311..25d8ae1e3b82 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[webkit].png
index ea12adb9b19a..0ebec9832ce9 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_link[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[chromium].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[chromium].png
index 591171d4d7f5..0a9ec7c16331 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[chromium].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[firefox].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[firefox].png
index 5b08d7c1f89c..afc4b65f71f5 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[firefox].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[webkit].png b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[webkit].png
index 699e8c4cd377..82fd55612d22 100644
Binary files a/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[webkit].png and b/e2e_playwright/__snapshots__/linux/label_markdown_test/st_time_input-valid_markdown[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-chromium].png
index 1ab211cde0ff..4dd0ddd663db 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-firefox].png
index d94aeec01268..32e22b45829a 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-webkit].png
index a7aa0828ac9a..a7ae52822e2b 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[dark_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-chromium].png
index 60f3ed6c3ddd..3cd946b39a23 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-firefox].png
index 6aef0ba8f14d..e3f2ce9b5fab 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-webkit].png
index e66ab2260649..c1f4fce4ce2c 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-formula[light_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-chromium].png
index 9d0a852e2114..36295e23a0b4 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-firefox].png
index 26f76b30d33e..9cb6619525e7 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-webkit].png
index af1b1ba12426..d25ad83aad0c 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[dark_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-chromium].png
index ecf1d407bf39..a9e7b154c9ef 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-firefox].png
index a2b4821b5471..367de044b19f 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-webkit].png
index 3efc28acdfb5..134ca02bc0b5 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-latex[light_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-chromium].png
index 6b9c64666443..0445ae95a118 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-firefox].png
index ac4da287c77c..a20f3be2d5e4 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-webkit].png
index a1b19cad5fa0..c3298179ab9b 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[dark_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-chromium].png
index fbdeefe08adc..0125f82c5d13 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-firefox].png
index bd816ccc23e2..64b1cbd406ea 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-webkit].png
index 8befc06f13f4..ba1d84d842b5 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_latex-sympy[light_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[chromium].png
index 27e6315ad024..4acf8128bc31 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[firefox].png
index 2ee973ab2e7b..1a43c1de5807 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[webkit].png
index 953fb1fb7d2c..235b58f04e89 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-header_long_above_markdown_table[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[chromium].png
index cea41c3085c8..d63396011430 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[firefox].png
index d726ab308328..be4e4d615261 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_beside_widget[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_bold_syntax[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_bold_syntax[firefox].png
index 5a44ac3c758e..ac3774ae5b92 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_bold_syntax[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_bold_syntax[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[chromium].png
index e20a1292444f..fe8871ae8fbd 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[firefox].png
index ce6e03050542..d0397a60fb04 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_columns[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[chromium].png
index f87a325970c0..66e6ae963201 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[firefox].png
index 8db78b5a6853..c3da763d9e66 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_labeled_columns[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_sidebar[webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_sidebar[webkit].png
index be636c91403a..8c50e1834ada 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_sidebar[webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_in_sidebar[webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_joined_in_single_command[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_joined_in_single_command[firefox].png
index 26c62b8830fb..5a44bccf060a 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_joined_in_single_command[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_joined_in_single_command[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[chromium].png
index 68e87c3d5670..27fcd59402a7 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[firefox].png
index c41666062996..97040fd02010 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-headers_via_multiple_commands[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-chromium].png
index b7306a9498de..df0e501157f2 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-firefox].png
index 85ad0df254c0..eae5339fab93 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-webkit].png
index d7ee88735d75..6d65e6c654e4 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[dark_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-chromium].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-chromium].png
index b29d86b4ac20..4cbe65610470 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-chromium].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-chromium].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-firefox].png
index 1c6b84b9a9a4..3bff9d7106f1 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-webkit].png
index af922214ca58..e4c34ab448d2 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-many_elements_in_one_block[light_theme-webkit].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[firefox].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[firefox].png
index fbe237efe701..3fd756775d21 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[firefox].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[firefox].png differ
diff --git a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[webkit].png b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[webkit].png
index 23c336a9ab2d..d2f7d3451460 100644
Binary files a/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[webkit].png and b/e2e_playwright/__snapshots__/linux/st_markdown_test/st_markdown-with_large_image[webkit].png differ
diff --git a/e2e_playwright/label_markdown.py b/e2e_playwright/label_markdown.py
index 45627b4f2b72..a24b30c74165 100644
--- a/e2e_playwright/label_markdown.py
+++ b/e2e_playwright/label_markdown.py
@@ -16,7 +16,7 @@
 
 import streamlit as st
 
-valid_label = ":material/check_circle: **Bold Text** *Italicized* ~Strikethough~ `Code Block` 🐶 :joy:"
+valid_label = ":material/check_circle: :streamlit: ![Image Text](https://dictionary.cambridge.org/us/images/thumb/corgi_noun_002_08554.jpg?version=5.0.297) **Bold Text** *Italicized* ~Strikethough~ `Code Block` 🐶 :joy:"
 
 color_label = (
     "Colored Text - :red[red] :blue[blue] :green[green] :violet[violet] :orange[orange]"
@@ -24,8 +24,6 @@
 
 link_label = "Label Link - [Streamlit](https://streamlit.io)"
 
-image = "Image ![Image Text](https://dictionary.cambridge.org/us/images/thumb/corgi_noun_002_08554.jpg?version=5.0.297)"
-
 table = """
 | Syntax | Description |
 | ----------- | ----------- |
@@ -60,12 +58,11 @@
 
 """
 
-# Invalid Markdown: images, table elements, headings, unordered/ordered lists, task lists, horizontal rules, & blockquotes
+# Invalid Markdown: table elements, headings, unordered/ordered lists, task lists, horizontal rules, & blockquotes
 with st.container():
     st.subheader(
-        "❌ Entirely Disallowed - Images, Table Elements, Headings, Lists, Blockquotes, Horizontal Rules"
+        "❌ Entirely Disallowed - Table Elements, Headings, Lists, Blockquotes, Horizontal Rules"
     )
-    st.button(image)
     st.checkbox(table)
     st.radio(heading_1, ["Option 1", "Option 2", "Option 3"])
     st.selectbox(heading_2, ["Option 1", "Option 2", "Option 3"])
@@ -74,7 +71,6 @@
     st.select_slider(task_list, ["Blue", "Purple", "Green"])
     st.text_input(blockquote)
     st.number_input(horizontal_rule)
-    st.text_area(image)
     st.date_input(table, datetime.date(2000, 3, 7))
     st.time_input(heading_1, datetime.time(8, 45))
     st.file_uploader(heading_2)
@@ -85,10 +81,10 @@
     tabA, tabB = st.tabs([blockquote, horizontal_rule])
 
 
-# Bold, italics, strikethrough, code, & shortcodes/emojis - allowed in all
+# Bold, italics, strikethrough, code, & shortcodes/emojis/streamlit logo, images - allowed in all
 with st.container():
     st.subheader(
-        "✅ Entirely Allowed - Bold, Italics, Strikethrough, Code, Shortcodes/Emojis"
+        "✅ Entirely Allowed - Bold, Italics, Strikethrough, Code, Shortcodes/Emojis, Streamlit logo, Images"
     )
     st.button(valid_label)
     st.checkbox(valid_label)
diff --git a/e2e_playwright/label_markdown_test.py b/e2e_playwright/label_markdown_test.py
index 60562146b38a..0699fb279ce9 100644
--- a/e2e_playwright/label_markdown_test.py
+++ b/e2e_playwright/label_markdown_test.py
@@ -21,14 +21,13 @@ def test_button_labels_handle_markdown(
     app: Page, assert_snapshot: ImageCompareFunction
 ):
     cases = [
-        ["invalid", "image"],
         ["valid", "markdown"],
         ["valid", "colored"],
         ["invalid", "link"],
     ]
 
     buttons = app.get_by_test_id("stButton")
-    expect(buttons).to_have_count(4)
+    expect(buttons).to_have_count(3)
     for index, case in enumerate(cases):
         assert_snapshot(
             buttons.nth(index),
@@ -191,14 +190,13 @@ def test_text_area_labels_handle_markdown(
     app: Page, assert_snapshot: ImageCompareFunction
 ):
     cases = [
-        ["invalid", "image"],
         ["valid", "markdown"],
         ["valid", "colored"],
         ["valid", "link"],
     ]
 
     text_areas = app.get_by_test_id("stTextArea")
-    expect(text_areas).to_have_count(4)
+    expect(text_areas).to_have_count(3)
 
     for index, case in enumerate(cases):
         assert_snapshot(
diff --git a/e2e_playwright/st_markdown.py b/e2e_playwright/st_markdown.py
index 3c5d1d92622a..aa612c43e3c8 100644
--- a/e2e_playwright/st_markdown.py
+++ b/e2e_playwright/st_markdown.py
@@ -56,16 +56,18 @@
 ax^2 + bx + c = 0
 $$
 
-## :material/home: Some header
+## :material/home: :streamlit: Some header
 
 | Col1      | Col2        |
 | --------- | ----------- |
-| Some      | :material/description: Data        |
+| Some      | :material/description: :streamlit: Data        |
 
 Some text
 - :blue[blue], :green[green], :red[red], :violet[violet], :orange[orange], :gray[gray], :grey[grey], :rainbow[rainbow]
 - :blue-background[blue], :green-background[green], :red-background[red], :violet-background[violet], :orange-background[orange], :gray-background[gray], :grey-background[grey], :rainbow-background[rainbow]
 - :material/chevron_right: Markdown can contain material icons :red[:material/local_fire_department:] :green-background[:material/celebration: Yay]
+- :streamlit: Markdown can contain the Streamlit logo
+
 
 :blue-background[**Bold text within blue background**], :red-background[*Italic text within red background*]
 
diff --git a/e2e_playwright/st_markdown_test.py b/e2e_playwright/st_markdown_test.py
index 4016fdd7b6a0..13890a2e3af6 100644
--- a/e2e_playwright/st_markdown_test.py
+++ b/e2e_playwright/st_markdown_test.py
@@ -40,6 +40,7 @@ def test_different_markdown_elements_in_one_block_displayed(
     assert_snapshot(
         multi_markdown_format_container,
         name="st_markdown-many_elements_in_one_block",
+        image_threshold=0.001,
     )
 
 
diff --git a/frontend/lib/src/assets/img/streamlit-logo/streamlit-mark-color.svg b/frontend/lib/src/assets/img/streamlit-logo/streamlit-mark-color.svg
new file mode 100644
index 000000000000..00cc4547c257
--- /dev/null
+++ b/frontend/lib/src/assets/img/streamlit-logo/streamlit-mark-color.svg
@@ -0,0 +1,5 @@
+<svg width="301" height="165" viewBox="0 0 301 165" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M150.731 101.547L98.1387 73.7471L6.84674 25.4969C6.7634 25.4136 6.59674 25.4136 6.51341 25.4136C3.18007 23.8303 -0.236608 27.1636 1.0134 30.497L47.5302 149.139L47.5385 149.164C47.5885 149.281 47.6302 149.397 47.6802 149.514C49.5885 153.939 53.7552 156.672 58.2886 157.747C58.6719 157.831 58.9461 157.906 59.4064 157.998C59.8645 158.1 60.5052 158.239 61.0552 158.281C61.1469 158.289 61.2302 158.289 61.3219 158.297H61.3886C61.4552 158.306 61.5219 158.306 61.5886 158.314H61.6802C61.7386 158.322 61.8052 158.322 61.8636 158.322H61.9719C62.0386 158.331 62.1052 158.331 62.1719 158.331V158.331C121.084 164.754 180.519 164.754 239.431 158.331V158.331C240.139 158.331 240.831 158.297 241.497 158.231C241.714 158.206 241.922 158.181 242.131 158.156C242.156 158.147 242.189 158.147 242.214 158.139C242.356 158.122 242.497 158.097 242.639 158.072C242.847 158.047 243.056 158.006 243.264 157.964C243.681 157.872 243.87 157.806 244.436 157.611C245.001 157.417 245.94 157.077 246.527 156.794C247.115 156.511 247.522 156.239 248.014 155.931C248.622 155.547 249.201 155.155 249.788 154.715C250.041 154.521 250.214 154.397 250.397 154.222L250.297 154.164L150.731 101.547Z" fill="#FF4B4B"/>
+<path d="M294.766 25.4981H294.683L203.357 73.7483L254.124 149.357L300.524 30.4981V30.3315C301.691 26.8314 298.108 23.6648 294.766 25.4981" fill="#7D353B"/>
+<path d="M155.598 2.55572C153.264 -0.852624 148.181 -0.852624 145.931 2.55572L98.1389 73.7477L150.731 101.548L250.398 154.222C251.024 153.609 251.526 153.012 252.056 152.381C252.806 151.456 253.506 150.465 254.123 149.356L203.356 73.7477L155.598 2.55572Z" fill="#BD4043"/>
+</svg>
diff --git a/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.test.tsx b/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.test.tsx
index a6ad57d878e9..a57e9f8eb331 100644
--- a/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.test.tsx
+++ b/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.test.tsx
@@ -214,6 +214,18 @@ describe("StreamlitMarkdown", () => {
     }
   )
 
+  it("renders streamlit logo in markdown when isLabel is true", () => {
+    render(
+      <StreamlitMarkdown source={":streamlit:"} allowHTML={false} isLabel />
+    )
+    const image = screen.getByRole("img")
+    expect(image).toHaveAttribute("alt", "Streamlit logo")
+    expect(image).toHaveAttribute(
+      "src",
+      expect.stringContaining("streamlit-mark-color")
+    )
+  })
+
   // Invalid Markdown - images, table elements, headings, unordered/ordered lists, task lists, horizontal rules, & blockquotes
   const table = `| Syntax | Description |
   | ----------- | ----------- |
@@ -268,15 +280,6 @@ describe("StreamlitMarkdown", () => {
     }
   )
 
-  it("doesn't render images when isLabel is true", () => {
-    const source =
-      "![Image Text](https://dictionary.cambridge.org/us/images/thumb/corgi_noun_002_08554.jpg?version=5.0.297)"
-
-    render(<StreamlitMarkdown source={source} allowHTML={false} isLabel />)
-    const image = screen.queryByAltText("Image Text")
-    expect(image).not.toBeInTheDocument()
-  })
-
   it("doesn't render links when disableLinks is true", () => {
     // Valid markdown further restricted with buttons to eliminate links
     const source = "[Link text](www.example.com)"
diff --git a/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx b/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
index 2341806b9625..998b2d42550e 100644
--- a/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
+++ b/frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
@@ -53,6 +53,7 @@ import {
   getMarkdownTextColors,
 } from "@streamlit/lib/src/theme"
 import { LibContext } from "@streamlit/lib/src/components/core/LibContext"
+import streamlitLogo from "@streamlit/lib/src/assets/img/streamlit-logo/streamlit-mark-color.svg"
 
 import {
   StyledHeadingActionElements,
@@ -460,6 +461,41 @@ export function RenderedMarkdown({
     }
   }
 
+  function remarkStreamlitLogo() {
+    return (tree: any) => {
+      function replaceStreamlit(): any {
+        console.log("found streamlit")
+        return {
+          type: "text",
+          value: "",
+          data: {
+            hName: "img",
+            hProperties: {
+              src: streamlitLogo,
+              alt: "Streamlit logo",
+              // style: "height: 0.75em; vertical-align: middle;",
+              style: {
+                display: "inline-block",
+                // Disable selection for copying it as text.
+                // Allowing this leads to copying the alt text,
+                // which can be confusing / unexpected.
+                userSelect: "none",
+                height: "0.75em",
+                verticalAlign: "baseline",
+                // The base of the Streamlit logo is curved, so move it down a bit to
+                // make it look aligned with the text.
+                // eslint-disable-next-line streamlit-custom/no-hardcoded-theme-values
+                marginBottom: "-0.05ex",
+              },
+            },
+          },
+        }
+      }
+      findAndReplace(tree, [[/:streamlit:/g, replaceStreamlit]])
+      return tree
+    }
+  }
+
   const plugins = [
     remarkMathPlugin,
     remarkEmoji,
@@ -467,6 +503,7 @@ export function RenderedMarkdown({
     remarkDirective,
     remarkColoring,
     remarkMaterialIcons,
+    remarkStreamlitLogo,
   ]
 
   const rehypePlugins: PluggableList = [
@@ -481,8 +518,8 @@ export function RenderedMarkdown({
 
   // Sets disallowed markdown for widget labels
   const disallowed = [
-    // Restricts images, table elements, headings, unordered/ordered lists, task lists, horizontal rules, & blockquotes
-    "img",
+    // Restricts table elements, headings, unordered/ordered lists, task lists, horizontal rules, & blockquotes
+    // Note that images are allowed but have a max height equal to the text height
     "table",
     "thead",
     "tbody",
diff --git a/frontend/lib/src/components/shared/StreamlitMarkdown/styled-components.ts b/frontend/lib/src/components/shared/StreamlitMarkdown/styled-components.ts
index 57878c8936f6..0dae848bc81f 100644
--- a/frontend/lib/src/components/shared/StreamlitMarkdown/styled-components.ts
+++ b/frontend/lib/src/components/shared/StreamlitMarkdown/styled-components.ts
@@ -68,6 +68,8 @@ export const StyledStreamlitMarkdown =
           // Images in markdown should never be wider
           // than the content area.
           maxWidth: "100%",
+          // In labels, widgets should never be taller than the text.
+          maxHeight: isLabel ? "1em" : "auto",
         },
 
         li: {


Code review comments:
diff_hunk: @@ -68,6 +68,8 @@ export const StyledStreamlitMarkdown =
           // Images in markdown should never be wider
           // than the content area.
           maxWidth: "100%",
+          // In labels, widgets should never be taller than the text.
+          maxHeight: isLabel ? "1em" : "auto",
path: frontend/lib/src/components/shared/StreamlitMarkdown/styled-components.ts
text: @user1:
I think `maxHeight==auto` might not actually exist? If you just want to have a fallback, maybe just set it to undefined here.

diff_hunk: @@ -460,13 +461,49 @@ export function RenderedMarkdown({
     }
   }
 
+  function remarkStreamlitLogo() {
+    return (tree: any) => {
+      function replaceStreamlit(): any {
+        console.log("found streamlit")
+        return {
+          type: "text",
+          value: "",
+          data: {
+            hName: "img",
+            hProperties: {
+              src: streamlitLogo,
+              alt: "Streamlit logo",
+              // style: "height: 0.75em; vertical-align: middle;",
path: frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
text: @user1:
nit: Is this comment still needed?

diff_hunk: @@ -460,13 +461,49 @@ export function RenderedMarkdown({
     }
   }
 
+  function remarkStreamlitLogo() {
+    return (tree: any) => {
+      function replaceStreamlit(): any {
+        console.log("found streamlit")
path: frontend/lib/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
text: @user1:
nit: can this be removed?