Repository navigation
Support multi-line code blocks in examples - #10776
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
Conversation
2e12760 to
80fb675
Compare
80fb675 to
1af3d7e
Compare
|
Greg Smulko (@Greg-Smulko) Please rebase to pass Static CI. |
1af3d7e to
9699d50
Compare
|
Add WIP until we get Pester tests. |
9699d50 to
c2bac4d
Compare
|
I replaced unit tests with Pester tests, could you take a look again Ilya (@iSazonov)? |
|
Greg Smulko (@Greg-Smulko) Could you please check the fix with PlatyPS? |
552809f to
3c2866e
Compare
Ilya (@iSazonov) , I tested the fix with PlatyPS, everything looks fine. :) |
Ilya (iSazonov)
left a comment
There was a problem hiding this comment.
Greg Smulko (@Greg-Smulko) Thanks for confirmation!
I think it would be useful to measure and share a performance degradation since we use Regex now. Could you please do this?
|
Ilya (@iSazonov) , performance degradation? What degradation? But seriously, it seems that the very first run of I tried running To summarize, I think that there is no visible performance degradation at all, at least for the cmdlets that I tested. |
|
Greg Smulko (@Greg-Smulko) Thanks! Aditya Patwardhan (@adityapatwardhan) Please review the PR. |
|
Hi Aditya Patwardhan (@adityapatwardhan), any hope that you could take a look at this? |
3c2866e to
eda675e
Compare
|
Greg Smulko (@Greg-Smulko) Thank you for your contribution! |
|
🎉 Handy links: |
PR Summary
Support multi-line code blocks in examples.
PR Context
Fix as asked for by sergei (@vors) in PowerShell/platyPS#180 (comment).
Fixes the issue PowerShell/platyPS#180 Multiline examples don't display as markdown code.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.