Skip to content

New-MarkdownCommandHelp Outputs Bare URL #738

@RobertKlohr

Description

@RobertKlohr

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

When using New-MarkdownCommandHelp the markdown output for a URL is missing the angle brackets.

Expected behavior

[](https://www.example.com)

or

<https://www.example.com>

Actual behavior

https://www.example.com

Error details

MD034 no-bare-urls - Bare URL used

Environment data

Get-Module Microsoft.PowerShell.PlatyPS -ListAvailable

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     1.0.0      preview3   Microsoft.PowerShell.PlatyPS        Desk      {New-MarkdownCommandHelp, Import-MamlHelp, Import-Mar
$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.7
PSEdition                      Core
GitCommitId                    7.4.7
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions