Get-MarkdownOption
Returns the current colors and styles used for rendering Markdown content in the console.
Syntax
Get-MarkdownOption []
Description
Returns the current colors and styles used for rendering Markdown content in the console. The strings displayed in the output of this cmdlet contain the ANSI escape codes used to change the color and style of the Markdown text being rendered.
For more information about Markdown, see the CommonMark website.
Examples
Example 1 - Get the current colors and style
Get-MarkdownOption
Header1 : [7m
Header2 : [4;93m
Header3 : [4;94m
Header4 : [4;95m
Header5 : [4;96m
Header6 : [4;97m
Code : [48;2;155;155;155;38;2;30;30;30m
Link : [4;38;5;117m
Image : [33m
EmphasisBold : [1m
EmphasisItalics : [36m
Note
The string values shown in the output are the characters that follow the Escape character
([char]0x1B
) for the ANSI escape sequence. For more information about ANSI escape codes work,
see ANSI_escape_code.
Inputs
None
You can't pipe objects to this cmdlet.
Outputs
Microsoft.PowerShell.MarkdownRender.PSMarkdownOptionInfo
Related Links
PowerShell