ToDecoratedString

The ToDecoratedString() method returns the VT100-encoded string representing the rendered markdown for the document.

Overloads

ToDecoratedString()
Returns the VT100-encoded string representing the rendered markdown for the document.

ToDecoratedString()

Returns the VT100-encoded string representing the rendered markdown for the document. This allows you to review the rendered Markdown in the console.

[ParsedDocument] ToDecoratedString()

Parameters

None.

Returns

The Markdown rendered to a VT100-encoded string.

Exceptions

None.

Examples

The following example demonstrates viewing a document’s rendered Markdown in the console.

$Doc = Get-Document ./README.md
$Doc.ToDecoratedString()