KEMBAR78
Allow front matter metadata to have list of Aliases by adityapatwardhan · Pull Request #730 · PowerShell/platyPS · GitHub
Skip to content

Conversation

@adityapatwardhan
Copy link
Member

PR Summary

This pull request enhances the functionality of Import-MarkdownCommandHelp to support reading metadata aliases from both list and string formats in Markdown files. It also includes corresponding tests to validate this new functionality.

Enhancements to metadata parsing:

Test coverage:

  • test/Pester/ImportMarkdownCommandHelp.Tests.ps1: Added tests to verify that metadata aliases can be correctly parsed when provided as a list or a string in Markdown files. These tests ensure the expected alias values and counts are returned.

PR Context

@adityapatwardhan
Copy link
Member Author

/azp run PowerShell.platyPS

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adityapatwardhan
Copy link
Member Author

/azp run PowerShell.platyPS

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@adityapatwardhan adityapatwardhan merged commit 33b90b4 into v2 Apr 28, 2025
8 checks passed
@adityapatwardhan adityapatwardhan deleted the FrontMatterAliasList branch April 28, 2025 17:08
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.

2 participants