saminsohag

fixed text decoration color of link markdown component.

## 1.1.2
* 🔗 Fixed text decoration color of link markdown component
## 1.1.1
* 🖼️ Fixed issue where images wrapped in links (e.g. `[![](img)](url)`) were not rendering properly (#72)
... ...
... ... @@ -141,6 +141,7 @@ return GptMarkdown(
''',
style: const TextStyle(
color: Colors.red,
),
),
```
... ...
... ... @@ -515,13 +515,13 @@ This document was created to test the robustness of Markdown parsers and to ensu
RegExp(r"align\*"),
(match) => "aligned");
},
imageBuilder: (context, url) {
return Image.network(
url,
width: 100,
height: 100,
);
},
// imageBuilder: (context, url) {
// return Image.network(
// url,
// width: 100,
// height: 100,
// );
// },
latexBuilder:
(context, tex, textStyle, inline) {
if (tex.contains(r"\begin{tabular}")) {
... ...
... ... @@ -856,7 +856,10 @@ class ATagMd extends InlineMd {
var theme = GptMarkdownTheme.of(context);
var linkTextSpan = TextSpan(
children: MarkdownComponent.generate(context, linkText, config, false),
style: config.style?.copyWith(color: theme.linkColor),
style: config.style?.copyWith(
color: theme.linkColor,
decorationColor: theme.linkColor,
),
);
// Use custom builder if provided
... ...