Render entity synopses as markdown in Uno app

This commit is contained in:
2026-06-30 23:08:47 +01:00
parent 96a8d7b7f3
commit c59e31c29c
3 changed files with 6 additions and 7 deletions

View File

@@ -6,6 +6,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:loc="using:Marechai.App.Presentation.Converters"
xmlns:local="using:Marechai.App.Presentation.Views"
NavigationCacheMode="Disabled"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
@@ -233,10 +234,7 @@
FontWeight="SemiBold"
Foreground="{ThemeResource TextControlForeground}" />
<Border Style="{StaticResource MetadataCardStyle}">
<TextBlock Text="{Binding SynopsisText}"
FontSize="14"
Foreground="{ThemeResource TextControlForeground}"
TextWrapping="Wrap" />
<local:MessageMarkdownView Markdown="{Binding SynopsisText}" />
</Border>
</StackPanel>

View File

@@ -6,6 +6,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:loc="using:Marechai.App.Presentation.Converters"
xmlns:local="using:Marechai.App.Presentation.Views"
NavigationCacheMode="Disabled"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
@@ -125,8 +126,7 @@
FontSize="14" FontWeight="SemiBold"
Foreground="{ThemeResource TextControlForeground}" />
<Border Style="{StaticResource MetadataCardStyle}">
<TextBlock Text="{Binding SynopsisText}" FontSize="14"
Foreground="{ThemeResource TextControlForeground}" TextWrapping="Wrap" />
<local:MessageMarkdownView Markdown="{Binding SynopsisText}" />
</Border>
</StackPanel>

View File

@@ -3,6 +3,7 @@
x:Name="PageRoot"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Marechai.App.Presentation.Views"
NavigationCacheMode="Disabled"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid RowSpacing="0">
@@ -62,7 +63,7 @@
<StackPanel Visibility="{Binding ShowSynopsis}" Spacing="8">
<TextBlock Text="{Binding Source={StaticResource Strings}, Path=MagazineSynopsisLabel}" FontSize="14" FontWeight="SemiBold" Foreground="{ThemeResource TextControlForeground}" />
<Border Style="{StaticResource MetadataCardStyle}">
<TextBlock Text="{Binding SynopsisText}" FontSize="14" Foreground="{ThemeResource TextControlForeground}" TextWrapping="Wrap" />
<local:MessageMarkdownView Markdown="{Binding SynopsisText}" />
</Border>
</StackPanel>
<!-- Issues by Year -->