3
3
Author : Aditya Patwardhan
4
4
Status : Draft
5
5
SupercededBy :
6
- Version : 0.2
6
+ Version : 0.3
7
7
Area : Formatting and Output
8
8
Comments Due : 03/26/2018
9
9
Plan to implement : Yes
10
10
---
11
11
12
12
# Native Markdown Rendering
13
13
14
- Render markdown content on console to improve readability.
14
+ Render markdown content on console to improve readability.
15
15
16
16
## Motivation
17
17
@@ -56,15 +56,11 @@ There will be support for changing the colors for various elements using the `Se
56
56
57
57
``` PowerShell
58
58
59
- Set-MarkdownOption [-Header1Color <ConsoleColor>] [-Header2Color <ConsoleColor>] [-Header3Color <ConsoleColor>] [-Header4Color <ConsoleColor>] [-Header5Color <ConsoleColor>] [-Header6Color <ConsoleColor>] [-CodeBlockForegroundColor <ConsoleColor>] [-CodeBlockBackgroudColor <ConsoleColor>] [-ImageAltTextForegroundColor <ConsoleColor>] [-LinkForegroundColor <ConsoleColor>] [-ItalicsForegroundColor <ConsoleColor>] [<CommonParameters>]
59
+ Set-MarkdownOption [-Header1Color <ConsoleColor>] [-Header2Color <ConsoleColor>] [-Header3Color <ConsoleColor>] [-Header4Color <ConsoleColor>] [-Header5Color <ConsoleColor>] [-Header6Color <ConsoleColor>] [-CodeBlockForegroundColor <ConsoleColor>] [-CodeBlockBackgroundColor <ConsoleColor>] [-ImageAltTextForegroundColor <ConsoleColor>] [-LinkForegroundColor <ConsoleColor>] [-ItalicsForegroundColor <ConsoleColor>] [<CommonParameters>]
60
60
61
- Set-MarkdownOption [ -Theme <MarkdownThemeType>] [<CommonParameters>]
61
+ Set-MarkdownOption -Theme <string> [<CommonParameters>]
62
62
63
- enum MarkdownThemeType
64
- {
65
- Dark
66
- Light
67
- }
63
+ Set-MarkdownOption -InputObject <psobject> [<CommonParameters>]
68
64
69
65
```
70
66
@@ -80,6 +76,31 @@ Get-MarkdownOption [<CommonParameters>]
80
76
81
77
```
82
78
79
+ ### Specification for ` Export-MarkdownOption `
80
+
81
+ ``` PowerShell
82
+
83
+ Export-MarkdownOption -Path <string> [<CommonParameters>]
84
+
85
+ Export-MarkdownOption -LiteralPath <string> [<CommonParameters>]
86
+
87
+ ```
88
+
89
+ Export the current markdown settings to a file.
90
+
91
+ ### Specification for ` Import-MarkdownOption `
92
+
93
+ ``` PowerShell
94
+
95
+ Import-MarkdownOption -Path <string> [<CommonParameters>]
96
+
97
+ Import-MarkdownOption -LiteralPath <string> [<CommonParameters>]
98
+
99
+ ```
100
+
101
+ Import the markdown settings from the specified file and returns a PSObject of the options.
102
+ This can be used as an ` InputObject ` for ` Set-MarkdownOption ` .
103
+
83
104
## Supported Markdown Elements
84
105
85
106
We will be supporting a limited set of markdown elements in the initial version.
0 commit comments