-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New-MDAlert commandlet and its Tests #37
Conversation
Aligns with and depends on New-MDQuote commandlet internally.
✅ Build MarkdownPS 1.0.38 completed (commit 9cc7140f37 by @belibug) |
Let me know if it meets the general standards. |
The concept is correct. Some remarks:
Don't get me wrong, I could had done this already but you asked me to "learn" and I can't contribute in the pull or at least I don't know how any longer :) |
Noted, will address this.
Yes, that’s why I removed the level parameter, so its always level 1
Noted, will double check this
This is intentional, we want
Generally I write tests which are agnostic of function logic. All tests are are “expected output” for a “specific input” pattern. If in case New-MDQuote is ever changed, it would instantly break any (all?) tests related to
This needs to handled, I did not know how much is too much for a single commit. I will add section in Demo.ps1 and update README accordingly. Do you prefer same pull request or a new one, I have seen others frown when a single pull request does too much changes. Note I really appreciate this opportunity, your feedback is greatly welcome. |
1. Now includes reference to GFM link 2. Detailed description about the function and link to GFM styles 3. Sytle parameter in help shows possible input option 4. Change local variables to match module naming convention
✅ Build MarkdownPS 1.0.39 completed (commit bb38453b05 by @belibug) |
|
Meanwhile, i am working on Demo.ps1 and its output in |
✅ Build MarkdownPS 1.0.40 completed (commit c9e8edc4d1 by @belibug) |
✅ Build MarkdownPS 1.0.41 completed (commit b74e6d039e by @belibug) |
This is a design choice which will probably never ever bother everyone. The way the module is coded is that if you ever pipelined it, it would render all the body everytime. The only thing that happens in
OKAY. Agreed. Lets keep it like this. |
Some minors
|
Removed non-functional changes mentioned in CHANGELOG
Fixed typo in example section of MDAlert Removed non-functional changes mentioned in CHANGELOG
✅ Build MarkdownPS 1.0.45 completed (commit fa7a8d6b3d by @belibug) |
✅ Build MarkdownPS 1.0.46 completed (commit 548e37e7c8 by @belibug) |
Fixed typo in example demo.ps1 and corresponding README entry
✅ Build MarkdownPS 1.0.47 completed (commit c32e82f06a by @belibug) |
✅ Build MarkdownPS 1.0.50 completed (commit 007922ce18 by @belibug) |
Aligns with and depends on New-MDQuote commandlet internally.