Skip to content

'ConvertFrom-Markdown' should take positional argument and 'Show-Markdown' should have consistent default as 'ConvertFrom-Markdown' #7363

@daxian-dbw

Description

@daxian-dbw
  1. ConvertFrom-Markdown e:\powershell\readme.md throws error: A positional parameter cannot be found that accepts argument 'E:\PowerShell\README.md'. I think it should work.

  2. ConvertFrom-Markdown -Path E:\PowerShell\README.md | Show-Markdown fails with this error: Show-Markdown : The property VT100EncodedString of the given object is null or empty. So, ConvertFrom-Markdown by default only populates HTML, while Show-Markdown by default show VT100. That feels very inconsistent to me.

Metadata

Metadata

Labels

Resolution-FixedThe issue is fixed.WG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions