markdown and readable flag

This commit is contained in:
Fabian Freund
2025-01-17 14:04:03 +01:00
parent 4a2191b01d
commit 8c14b1f91e
18 changed files with 252 additions and 166 deletions
@@ -288,20 +288,9 @@ class SearchScreen extends HookConsumerWidget {
result.extractedContent ?? result.fullContent;
return ListTile(
title: Markdown(
shrinkWrap: true,
padding: EdgeInsets.zero,
data: result.title,
physics: const NeverScrollableScrollPhysics(),
),
title: MarkdownBody(data: result.title),
subtitle: (!headHasMatch && bodyResult != null)
? Markdown(
shrinkWrap: true,
padding: EdgeInsets.zero,
data: bodyResult,
physics:
const NeverScrollableScrollPhysics(),
)
? MarkdownBody(data: bodyResult)
: null,
);
},