PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
762 stars 148 forks source link

Support unordered list of links under RELATED LINKS #655

Closed sdwheeler closed 2 days ago

sdwheeler commented 1 month ago

Summary of the new feature / enhancement

The 0.14 version of platyps requires that links under the H2 RELATED LINKS each be on a separate line. Rendering breaks if you forget to put a blank line between them.

The new version of PlatyPS should be able to read/parse the list of links whether they are listed on separate lines or they are collected in an unordered markdown list, regardless of the schema version of the markdown. (E.g. support either "list" format in 0.14 docs and new markdown docs)

All commands that write markdown should write the list of links as an unordered markdown list.

Proposed technical implementation details (optional)

No response

sdwheeler commented 2 days ago

Fixed in https://github.com/PowerShell/platyPS/commit/27d5ffe4090f146b64c7d91453d6683c68c8ee53