mirror of
https://github.com/claunia/marechai.git
synced 2026-07-08 17:57:08 +00:00
Render entity synopses as markdown in Uno app
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user