Skip to content
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

Add remark-github-admonitions-to-directives to list of plugins #1293

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Add remark-github-admonitions-to-directives to list of plugins #1293

merged 1 commit into from
Mar 6, 2024

Conversation

LuudJanssen
Copy link
Contributor

@LuudJanssen LuudJanssen commented Mar 3, 2024

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and couldn’t find anything (or linked relevant results below)
  • If applicable, I’ve added docs and tests

Description of changes

I created a plugin to turn GitHub's alert syntax to the directives syntax used by admonitions. I'm curious to hear what you think and if it fits the list 😊

Plugin: https://github.com/incentro-dc/remark-github-admonitions-to-directives

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Mar 3, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d993c7f) to head (4fc3378).
Report is 3 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1293   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          142       142           
=========================================
  Hits           142       142           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@LuudJanssen
Copy link
Contributor Author

LuudJanssen commented Mar 4, 2024

Hi @ChristianMurphy, thank you so much for your awesome suggestions. I've applied all of them and released a v1.0.3 with the changes.

Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Very minor, I'd recommend widening version ranges of dependencies to the full major range https://github.com/incentro-dc/remark-github-admonitions-to-directives/blob/f67299024f9b9b58f4250a00300433b6a1f13f21/package.json#L48-L50
E.G. "@types/mdast": "^4.0.0", this allows package managers to deduplicate more.
I've seen more issues from confusion on having multiple copies of the same library living on a computer than from being a patch or two behind.

@LuudJanssen
Copy link
Contributor Author

Hi @ChristianMurphy, great suggestion. Even though the package manager should resolve this for most cases, there's always that dependency that has a fixed patch version. I've loosened up the version ranges and released v1.0.4.

@wooorm wooorm merged commit d0886dc into remarkjs:main Mar 6, 2024
4 checks passed
@wooorm wooorm added 📚 area/docs This affects documentation 💪 phase/solved Post is done labels Mar 6, 2024
@wooorm
Copy link
Member

wooorm commented Mar 6, 2024

Cool stuff Luud!

This comment has been minimized.

@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 area/docs This affects documentation 💪 phase/solved Post is done
Development

Successfully merging this pull request may close these issues.

4 participants