Skip to content

[Fix #793] - Fix the formatting of the Description in MAML - #855

Merged
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:mainfrom
sdwheeler:sdw-fix-desc-maml
Jul 16, 2026
Merged

[Fix #793] - Fix the formatting of the Description in MAML#855
Aditya Patwardhan (adityapatwardhan) merged 1 commit into
PowerShell:mainfrom
sdwheeler:sdw-fix-desc-maml

Conversation

@sdwheeler

@sdwheeler Sean Wheeler (sdwheeler) commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

PR Summary

PR Context

Before this PR, when the cmdlet description was converted to MAML each line of each paragraph was joined into a single paragraph. This altered the formatting in several ways:

  • extra spaces were inserted between the joined lines
  • lists, tables, and block quotes were squashed into one continuous line making them unreadable

This PR preserves the structure of the markdown by not splitting the content. This follows the same pattern used for NOTES, and parameter descriptions.


This change is Reviewable

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@adityapatwardhan

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 8ba342e into PowerShell:main Jul 16, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export-MamlCommandHelp does not convert lists from markdown help.

2 participants