- 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"
/>