Fix several issues in Markdown cmdlets (#7329)

- Formatting file should be used for `MarkdownOptionInfo` object instead of the types file for adding script property.
- Downlevel windows consoles which do not support VT100 escape sequences should be handled gracefully.
- Add helpuri fwlink for cmdlets.
- Make `-Path` a positional parameter for `ConvertFrom-Markdown`
- make `-InputObject` a positional parameter for `Set-MarkdownOption`
This commit is contained in:
Aditya Patwardhan
2018-07-27 17:26:35 -07:00
committed by Dongbo Wang
parent e7c315b65c
commit 4e7c2ed663
11 changed files with 368 additions and 137 deletions
@@ -91,3 +91,7 @@ Get-ComputerInfo,https://go.microsoft.com/fwlink/?LinkId=799466
Get-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799468
Set-TimeZone,https://go.microsoft.com/fwlink/?LinkId=799469
Get-Uptime,https://go.microsoft.com/fwlink/?linkid=834862
ConvertFrom-Markdown,https://go.microsoft.com/fwlink/?linkid=2006503
Get-MarkdownOption,https://go.microsoft.com/fwlink/?linkid=2006371
Set-MarkdownOption,https://go.microsoft.com/fwlink/?linkid=2006265
Show-Markdown,https://go.microsoft.com/fwlink/?linkid=2006266
1 TopicTitle HelpURI
91 Get-TimeZone https://go.microsoft.com/fwlink/?LinkId=799468
92 Set-TimeZone https://go.microsoft.com/fwlink/?LinkId=799469
93 Get-Uptime https://go.microsoft.com/fwlink/?linkid=834862
94 ConvertFrom-Markdown https://go.microsoft.com/fwlink/?linkid=2006503
95 Get-MarkdownOption https://go.microsoft.com/fwlink/?linkid=2006371
96 Set-MarkdownOption https://go.microsoft.com/fwlink/?linkid=2006265
97 Show-Markdown https://go.microsoft.com/fwlink/?linkid=2006266