-
Notifications
You must be signed in to change notification settings - Fork 32
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: Port admon
plugin
#53
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
I think this is now ready for review. Let me know if there is anything that needs to be modified, and I would be happy to make those changes, or feel free to go ahead and make changes directly! Based on this recommendation, this PR ports this JS plugin to Python: https://github.com/commenthol/markdown-it-admon/blob/9820ba89415c464a3cc18a780f222a0ceb3e18bd/index.js |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This seems good to me assuming that tests pass.
Would @chrisjsewell be able to approve CI and review too?
Codecov ReportBase: 92.37% // Head: 92.66% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #53 +/- ##
==========================================
+ Coverage 92.37% 92.66% +0.28%
==========================================
Files 27 29 +2
Lines 1574 1677 +103
==========================================
+ Hits 1454 1554 +100
- Misses 120 123 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Regarding broken CI checks:
|
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
Thanks for the feedback! I think I made all the requested changes. Let me know if there is anything else. For coverage, is 100% statement coverage expected? There are a few that aren't tested, but they are only single lines like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cheers!
@hukkin do you want to approve before I merge ta |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @KyleKing !
(Partially) Fixes: hukkin/mdformat#309 (in combination with KyleKing/mdformat-admon#1)
I had two hours this morning and tried porting the plugin! It passes all tests locally and seems to work, but I'll take another look through tomorrow to make sure it is merge-ready. I'm opening a PR for now, since there seemed to be a couple of people interested, and I would benefit from any feedback.