diff --git a/src/MarkdownConverter.cs b/src/MarkdownConverter.cs index bb4a3e8..05af2c6 100644 --- a/src/MarkdownConverter.cs +++ b/src/MarkdownConverter.cs @@ -44,6 +44,13 @@ public class MarkdownInfo /// Gets the AST of the Markdown string. /// public Markdig.Syntax.MarkdownDocument Tokens { get; internal set; } + + /// Return the rendered HTML representation + public override string ToString() + { + return this.Html ?? string.Empty; + } + } ///