diff --git a/src/MarkdownConverter.cs b/src/MarkdownConverter.cs
index bb4a3e8..68d9f49 100644
--- a/src/MarkdownConverter.cs
+++ b/src/MarkdownConverter.cs
@@ -44,6 +44,21 @@ public class MarkdownInfo
/// Gets the AST of the Markdown string.
///
public Markdig.Syntax.MarkdownDocument Tokens { get; internal set; }
+
+
+ ///
+ /// Gets the converted markdown as a string.
+ ///
+ public override string ToString() {
+ if (! string.IsNullOrEmpty(this.Html)) {
+ return this.Html;
+ } else if (! string.IsNullOrEmpty(this.VT100EncodedString)) {
+ return this.VT100EncodedString;
+ } else {
+ return string.Empty;
+ }
+
+ }
}
///