flutter / flutter/ai

[feat] markdown links should spawn browser by default when clicked

Open
#150 2 comments 0 reactions 0 assignees View on GitHub
pending release
Dominant language
Dart
Stars
286
Forks
94
PR merge metrics
No merged PRs in 30d

Description

Hi,

i found that the markdown url syntax just shown with title, no url highlight, and i cant click on it

```
# markdown syntax example
[link-title](https://google.com/)
```
which should shown like

[link-title](https://google.com/)

but it only show below, and not clickable

link-title

Image

envrionments:
ios 18.5
flutter: Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (4 months ago) • 2025-04-11 19:10:07 +0000
Engine • revision cf56914b32
Tools • Dart 3.7.2 • DevTools 2.42.3

the minimal repro

```
import 'package:flutter/material.dart';
import 'package:flutter_ai_toolkit/flutter_ai_toolkit.dart';

class TestOverflowScreen extends StatefulWidget {
const TestOverflowScreen({super.key});

@override
State createState() => _TestOverflowScreenState();
}

class _TestOverflowScreenState extends State {

@override
Widget build(BuildContext context) {
return Scaffold(
body: LlmChatView(
provider: EchoProvider(),
),
);
}
}
```

thx !

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.