ITADN

Implement basic support for Markdown alerts in HTML-to-spanned conversion

#1446Pull RequestFs00 创建于 2025-02-15已合并
F
Fs00commented
This PR adds basic rendering support for [Markdown alerts](https://github.com/orgs/community/discussions/16925), a special type of blockquote that has been around for one year now. The appearance is kept intentionally simple (no colors, no title icons) to avoid dealing with different color tones for dark/light themes and to make them visually consistent with how they appear in the WebView viewer, where they are displayed as simple blockquotes because the Markdown JS library we use doesn't yet support them. | Before | After | |--------|--------| | ![alert_no_support](https://github.com/user-attachments/assets/6df9e298-f6e0-4988-8a38-602961f79160) | ![alert_with_support](https://github.com/user-attachments/assets/e3107b05-24d9-4cef-971d-7d1b7a598899) |
合并状态:已合并 合并于 2025-03-19 关闭于 2025-03-19 2 条评论