Skip to content

Commit 2cdb5d1

Browse files
committed
Chg: ToXaml to public for more flexiblilty
1 parent cd0e37f commit 2cdb5d1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NeoMarkdigXaml/MarkdownXaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public static void ToXaml(string markdown, TextWriter writer, MarkdownPipeline p
8585
/// <param name="markdown">A Markdown text.</param>
8686
/// <param name="writer">The destination <see cref="TextWriter"/> that will receive the result of the conversion.</param>
8787
/// <param name="pipeline">The pipeline used for the conversion.</param>
88-
private static object ToXaml(string markdown, XamlWriter writer, MarkdownPipeline pipeline = null)
88+
public static object ToXaml(string markdown, XamlWriter writer, MarkdownPipeline pipeline = null)
8989
{
9090
if (writer == null)
9191
throw new ArgumentNullException(nameof(writer));

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,8 @@ Needs to prove: Neo.Markdig.Xaml should consume less memory on large documents i
6161

6262
## Links
6363
- Nuget [Neo.Markdig.Xaml](https://www.nuget.org/packages/Neo.Markdig.Xaml/)
64-
- [TecWare GmbH](https://www.tecware-gmbh.de/)
64+
- [TecWare GmbH](https://www.tecware-gmbh.de/)
65+
66+
## What is missing
67+
68+
A resource management for the result.

0 commit comments

Comments
 (0)