Skip to content

Releases: whistyun/MdXaml

Add feature

16 Apr 10:17
Compare
Choose a tag to compare
  • 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.

10 Jan 16:21
Compare
Choose a tag to compare

[Bugfix] Close a stream when a image loads.

06 Nov 03:49
426856f
Compare
Choose a tag to compare

Has strong name

06 Nov 03:48
e81a0fc
Compare
Choose a tag to compare

Add Plugin IF for html and svg rendering.

02 Oct 14:27
Compare
Choose a tag to compare

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>

image

[Bugfix] Setting a value to MarkdownStyle has no effect with DataTemplate.

14 May 17:43
e03f57b
Compare
Choose a tag to compare

[Bugfix] Avoid image loading failures when an image is displayed in multiple places.

14 May 17:42
5802e96
Compare
Choose a tag to compare

Bugfix: avoid exceptions when copying hyperlinks to the clipboard

21 Feb 23:36
Compare
Choose a tag to compare

Upgrade to AvalonEdit 6

11 Nov 16:07
2140c6d
Compare
Choose a tag to compare

Upgrade AvalonEdit dependency to 6 on .NET Framework.
About .NET Core, it is already use 6.

Add new style for dark mode.

24 Apr 07:46
Compare
Choose a tag to compare

The new style "Sasabune" supports dark mode.

image