<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:shell="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.14.0"
                    xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf">
  <Style TargetType="{x:Type FlowDocument}" x:Key="{x:Static markdig:Styles.DocumentStyleKey}">
    <Setter Property="FontFamily" Value="Segoe UI"/>
    <Setter Property="FontSize" Value="12"/>
    <Setter Property="TextAlignment" Value="Left"/>
    <Setter Property="PagePadding" Value="0"/>
  </Style>
  <Style TargetType="{x:Type List}">
    <Setter Property="Margin" Value="0" />
  </Style>
  <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading1StyleKey}">
    <Setter Property="FontSize" Value="19" />
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="FontWeight" Value="Light" />
  </Style>
  <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading2StyleKey}">
    <Setter Property="FontSize" Value="17" />
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="FontWeight" Value="Light" />
  </Style>
  <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading3StyleKey}">
    <Setter Property="FontSize" Value="16" />
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="FontWeight" Value="Light" />
  </Style>
  <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.Heading4StyleKey}">
    <Setter Property="FontSize" Value="14" />
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="FontWeight" Value="Light" />
    <Setter Property="TextDecorations" Value="Underline" />
  </Style>
  <Style TargetType="{x:Type Table}" x:Key="{x:Static markdig:Styles.TableStyleKey}">
    <Setter Property="BorderBrush" Value="{DynamicResource GitHubHeaderSeparatorBrush}"/>
    <Setter Property="BorderThickness" Value="0,0,1,1"/>
    <Setter Property="CellSpacing" Value="0"/>
  </Style>
  <Style TargetType="{x:Type TableCell}" x:Key="{x:Static markdig:Styles.TableCellStyleKey}">
    <Setter Property="BorderBrush" Value="{DynamicResource GitHubHeaderSeparatorBrush}"/>
    <Setter Property="BorderThickness" Value="1,1,0,0"/>
    <Setter Property="Padding" Value="4"/>
  </Style>
  <Style TargetType="{x:Type Paragraph}" x:Key="{x:Static markdig:Styles.CodeBlockStyleKey}">
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="Background" Value="{DynamicResource GitHubBranchNameBackgroundBrush}" />
    <Setter Property="Padding" Value="2" />
    <Setter Property="FontFamily" Value="Consolas, Lucida Sans Typewriter, Courier New" />
  </Style>
  <Style TargetType="{x:Type Run}" x:Key="{x:Static markdig:Styles.CodeStyleKey}">
    <Setter Property="Foreground" Value="{DynamicResource {x:Static shell:VsBrushes.WindowTextKey}}" />
    <Setter Property="Background" Value="{DynamicResource GitHubBranchNameBackgroundBrush}" />
    <Setter Property="FontFamily" Value="Consolas, Lucida Sans Typewriter, Courier New" />
  </Style>
  <Style TargetType="{x:Type FlowDocumentScrollViewer}">
    <Setter Property="SelectionOpacity" Value="0.4" />
  </Style>
</ResourceDictionary>
