PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
766 stars 149 forks source link

Fix issues with module name and external help file metadata #542

Closed adityapatwardhan closed 3 years ago

adityapatwardhan commented 3 years ago

Fixes #529 Fixes #515 Fixes #447 fixes #528

The # character has to be escaped when converted to YAML as anything after a # is considered a comment. Change the way the file is determined to be a module page file by checking the yaml metadata header instead of relying on - in the file name. Added tests.

Also fix the metadata for external help file when command is in a nested module.