Class
MarkdownConsole
ConsoleMonster.Markdown
Reads CommonMark through OfficeIMO and composes native console widgets without executing document content.
Inheritance
- object
- MarkdownConsole
Methods
public static MarkdownView Parse(string content) #Parses CommonMark with pipe tables into a reusable, width-responsive console document.
Parameters
- content string
- The complete source, including any reference-link definitions.
Exceptions
ArgumentNullException– The source is null.
public static void Show(string content, bool paging = true, CancellationToken cancellationToken = default) #Writes a document, using the shared pager when it exceeds an interactive screen.
Parameters
- content string
- The complete Markdown source.
- paging bool = true
- Whether a long interactive document may acquire the input lease.
- cancellationToken System.Threading.CancellationToken = default
- Cancels paging and restores the terminal before control returns.