File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 91
91
</PackageReference >
92
92
<PackageReference Include =" InputSimulator" Version =" 1.0.4" />
93
93
<PackageReference Include =" MdXaml" Version =" 1.27.0" />
94
+ <PackageReference Include =" MdXaml.AnimatedGif" Version =" 1.27.0" />
95
+ <PackageReference Include =" MdXaml.Html" Version =" 1.27.0" />
96
+ <PackageReference Include =" MdXaml.Plugins" Version =" 1.27.0" />
97
+ <PackageReference Include =" MdXaml.Svg" Version =" 1.27.0" />
94
98
<!-- Do not upgrade Microsoft.Extensions.DependencyInjection and Microsoft.Extensions.Hosting since we are .Net7.0 -->
95
99
<PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 7.0.0" />
96
100
<PackageReference Include =" Microsoft.Extensions.Hosting" Version =" 7.0.1" />
Original file line number Diff line number Diff line change 163
163
HorizontalAlignment =" Stretch"
164
164
VerticalAlignment =" Stretch"
165
165
ClickAction =" SafetyDisplayWithRelativePath"
166
- Loaded =" MarkdownViewer_Loaded" />
166
+ Loaded =" MarkdownViewer_Loaded"
167
+ Plugins =" {StaticResource MdXamlPlugins}" />
167
168
168
169
<!-- Put this Grid in the same position as MarkdownViewer -->
169
170
<Grid
Original file line number Diff line number Diff line change 1
1
<ResourceDictionary
2
2
xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
3
xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
4
+ xmlns : mdagif =" clr-namespace:MdXaml.AnimatedGif;assembly=MdXaml.AnimatedGif"
5
+ xmlns : mdhtml =" clr-namespace:MdXaml.Html;assembly=MdXaml.Html"
6
+ xmlns : mdplugins =" clr-namespace:MdXaml.Plugins;assembly=MdXaml.Plugins"
7
+ xmlns : mdsvg =" clr-namespace:MdXaml.Svg;assembly=MdXaml.Svg"
4
8
xmlns : system =" clr-namespace:System;assembly=mscorlib"
5
9
xmlns : ui =" http://schemas.modernwpf.com/2019" >
6
10
5761
5765
</Style >
5762
5766
5763
5767
<!-- Release Notes -->
5768
+ <mdplugins : MdXamlPlugins x : Key =" MdXamlPlugins" >
5769
+ <mdhtml : HtmlPluginSetup />
5770
+ <mdsvg : SvgPluginSetup />
5771
+ <mdagif : AnimatedGifPluginSetup />
5772
+ </mdplugins : MdXamlPlugins >
5773
+
5764
5774
<Style x : Key =" DocumentStyleGithubLikeLight" TargetType =" FlowDocument" >
5765
5775
<Setter Property =" FontFamily" Value =" Calibri" />
5766
5776
<Setter Property =" TextAlignment" Value =" Left" />
You can’t perform that action at this time.
0 commit comments