We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Given there is one existing PowerShell help markdown including below example. Please note its language identifier is azurepowershell-interactive
azurepowershell-interactive
```azurepowershell-interactive $rgName = "resourceGroupName" $vnet = Get-AzVirtualNetwork -ResourceGroupName $rgName -Name "vnet" $pip = Get-AzPublicIpAddress -ResourceGroupName $rgName -Name "publicIpName" New-AzFirewall -Name "azFw" -ResourceGroupName $rgName -Location centralus -VirtualNetwork $vnet -PublicIpAddress $pip ```
When developer update doc again via Update-MarkdownHelp, it becomes into
```azurepowershell -interactive $rgName = "resourceGroupName" $vnet = Get-AzVirtualNetwork -ResourceGroupName $rgName -Name "vnet" $pip = Get-AzPublicIpAddress -ResourceGroupName $rgName -Name "publicIpName" New-AzFirewall -Name "azFw" -ResourceGroupName $rgName -Location centralus -VirtualNetwork $vnet -PublicIpAddress $pip ```
You can see language identifier of code block doesn't support hyphen well. The text after hyphen is moved to the new line. We raise question because online doc will support more language identifiers https://review.docs.microsoft.com/en-us/help/contribute/code-in-docs?branch=master#inline-interactive-code-blocks
Script 0.14.2 platyPS
PS C:\Dev> $PSVersionTable Name Value ---- ----- PSVersion 7.2.0-preview.6 PSEdition Core GitCommitId 7.2.0-preview.6 OS Microsoft Windows 10.0.22000 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered:
I think this may be fixed already in Microsoft.PowerShell.PlatyPS v1. Need to retest in Update scenario.
Sorry, something went wrong.
No branches or pull requests
Steps to reproduce
Given there is one existing PowerShell help markdown including below example. Please note its language identifier is
azurepowershell-interactive
When developer update doc again via Update-MarkdownHelp, it becomes into
You can see language identifier of code block doesn't support hyphen well. The text after hyphen is moved to the new line. We raise question because online doc will support more language identifiers https://review.docs.microsoft.com/en-us/help/contribute/code-in-docs?branch=master#inline-interactive-code-blocks
Expected behavior
Actual behavior
Environment data
Script 0.14.2 platyPS
The text was updated successfully, but these errors were encountered: