Support multi-line code blocks in examples#10776
Support multi-line code blocks in examples#10776adityapatwardhan merged 2 commits intoPowerShell:masterfrom
Conversation
2e12760 to
80fb675
Compare
80fb675 to
1af3d7e
Compare
|
@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 @iSazonov? |
|
@Greg-Smulko Could you please check the fix with PlatyPS? |
552809f to
3c2866e
Compare
@iSazonov , I tested the fix with PlatyPS, everything looks fine. :) |
iSazonov
left a comment
There was a problem hiding this comment.
@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?
|
@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 Thanks! @adityapatwardhan Please review the PR. |
|
Hi @adityapatwardhan, any hope that you could take a look at this? |
3c2866e to
eda675e
Compare
|
@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 @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.