Duplicate Check
Describe the bug
ft.Markdown cannot render HTML tags,it can only render strings in Markdown format.
Code sample
Code
sample = """
# hello world
<img src="https://raw.githubusercontent.com/flet-dev/flet/refs/heads/main/media/logo/flet-logo.svg" />
"""
def run_sample(page: ft.Page):
page.add(
ft.Markdown(
value=sample,
extension_set=ft.MarkdownExtensionSet.GITHUB_WEB,
)
)
ft.run(run_sample)
To reproduce
- Run sample code.
- Show only the text content
Expected behavior
No response
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
macOS 15.7.4
Flet version
0.82.2
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
Additional details
No response
Duplicate Check
Describe the bug
ft.Markdown cannot render HTML tags,it can only render strings in Markdown format.
Code sample
Code
To reproduce
Expected behavior
No response
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
macOS 15.7.4
Flet version
0.82.2
Regression
I'm not sure / I don't know
Suggestions
No response
Logs
Logs
[Paste your logs here]Additional details
No response