Releases: whistyun/MdXaml
Add feature
- Links to anchors
- Disable enhanced syntax
Links to anchors
MarkdownScrollViewer enable links to anchors.
This feature is enabled when MarkdownScrollViewer.ClickAction
is set to OpenBrowser
, DisplayWithRelativePath
or DisplayAll
.
Anchor generation rules are the same as for Markdig.
* [Heading1](#heading-1)
* [Heading with link](#heading-with-link)
* [Tag has id attribute](#test)
## Heading (1)
## [Heading with link](https://google.com)
<h2 id="test">Tag has id attribute</h2>
Disable enhanced syntax
MarkdownScrollViewer has a new property; Syntax
. This property toggles the enable/disable of enhanced sytax.
There is three property values; Plain
, Standard
and MdXaml
.
Plain
disables all enhanced syntax. This is similar to Markdown 1.0.1.Standard
enables table syntax.MdXaml
enables all ehnahced syntax.
<!-- xmlns:mdxam="clr-namespace:MdXaml;assembly=MdXaml" -->
<mdxam:MarkdownScrollViewer
Syntax="Standard"
/>
[Bugfix] Correctly render the first bold in an unordered list.
v1.16.3 add readme
[Bugfix] Close a stream when a image loads.
Has strong name
refs #41
Add Plugin IF for html and svg rendering.
A MdXaml plugin add syntaxes and additional supported image formats. For now, there are two official plugins; MdXaml.Html to add html tag support and MdXaml.Svg to add SVG support.
If you want use it. Add nupkg MdXaml.Plugins
and MdXaml.Html
, MdXaml.Svg
, and edit App.xaml like the bellow sample.
<Application x:Class="***"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mdplug="clr-namespace:MdXaml.Plugins;assembly=MdXaml.Plugins"
xmlns:mdhtml="clr-namespace:MdXaml.Html;assembly=MdXaml.Html"
xmlns:mdsvg="clr-namespace:MdXaml.Svg;assembly=MdXaml.Svg"
StartupUri="***">
<Application.Resources>
<mdplug:MdXamlPlugins x:Key="MdXamlPlugins">
<mdhtml:HtmlPluginSetup/>
<mdsvg:SvgPluginSetup/>
</mdplug:MdXamlPlugins>
</Application.Resources>
</Application>
[Bugfix] Setting a value to MarkdownStyle has no effect with DataTemplate.
[Bugfix] Avoid image loading failures when an image is displayed in multiple places.
Bugfix: avoid exceptions when copying hyperlinks to the clipboard
v1.13.0 update csproj
Upgrade to AvalonEdit 6
Upgrade AvalonEdit dependency to 6 on .NET Framework.
About .NET Core, it is already use 6.