|
| 1 | +<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| 2 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | + xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"> |
| 4 | + <Style TargetType="{x:Type FlowDocument}" x:Key="{x:Static markdig:Styles.DocumentStyleKey}"> |
| 5 | + <Setter Property="FontFamily" Value="Segoe UI"/> |
| 6 | + <Setter Property="FontSize" Value="12"/> |
| 7 | + <Setter Property="TextAlignment" Value="Left"/> |
| 8 | + <Setter Property="PagePadding" Value="0"/> |
| 9 | + </Style> |
| 10 | + <Style TargetType="{x:Type List}"> |
| 11 | + <Setter Property="Margin" Value="0" /> |
| 12 | + </Style> |
| 13 | + <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading1StyleKey}"> |
| 14 | + <Setter Property="FontSize" Value="19" /> |
| 15 | + <Setter Property="Foreground" Value="#ff000000" /> |
| 16 | + <Setter Property="FontWeight" Value="Light" /> |
| 17 | + </Style> |
| 18 | + <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading2StyleKey}"> |
| 19 | + <Setter Property="FontSize" Value="17" /> |
| 20 | + <Setter Property="Foreground" Value="#ff000000" /> |
| 21 | + <Setter Property="FontWeight" Value="Light" /> |
| 22 | + </Style> |
| 23 | + <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading3StyleKey}"> |
| 24 | + <Setter Property="FontSize" Value="16" /> |
| 25 | + <Setter Property="Foreground" Value="#99000000" /> |
| 26 | + <Setter Property="FontWeight" Value="Light" /> |
| 27 | + </Style> |
| 28 | + <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading4StyleKey}"> |
| 29 | + <Setter Property="FontSize" Value="14" /> |
| 30 | + <Setter Property="Foreground" Value="#99000000" /> |
| 31 | + <Setter Property="FontWeight" Value="Light" /> |
| 32 | + <Setter Property="TextDecorations" Value="Underline" /> |
| 33 | + </Style> |
| 34 | + <Style TargetType="{x:Type Table}" x:Key="{x:Static markdig:Styles.TableStyleKey}"> |
| 35 | + <Setter Property="BorderBrush" Value="{DynamicResource GitHubHeaderSeparatorBrush}"/> |
| 36 | + <Setter Property="BorderThickness" Value="0,0,1,1"/> |
| 37 | + <Setter Property="CellSpacing" Value="0"/> |
| 38 | + </Style> |
| 39 | + <Style TargetType="{x:Type TableCell}" x:Key="{x:Static markdig:Styles.TableCellStyleKey}"> |
| 40 | + <Setter Property="BorderBrush" Value="{DynamicResource GitHubHeaderSeparatorBrush}"/> |
| 41 | + <Setter Property="BorderThickness" Value="1,1,0,0"/> |
| 42 | + <Setter Property="Padding" Value="4"/> |
| 43 | + </Style> |
| 44 | +</ResourceDictionary> |
0 commit comments