Skip to content

Remove-Markdown

SYNOPSIS

This cmdlet removes markdown from a string.

SYNTAX

Remove-Markdown [-String] <String[]> [<CommonParameters>]

DESCRIPTION

This cmdlet removes markdown from a string.

EXAMPLES

Example 1

$Markdown = '# Title'
Remove-Markdown -String $Markdown

This would simply return the string 'Title'

PARAMETERS

-String

The string to remove markdown from.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES