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

🚀 Support Github-style Alerts, Callouts, etc. (Beta) #1280

Closed
4 tasks done
jon-sully opened this issue Jan 20, 2024 · 9 comments
Closed
4 tasks done

🚀 Support Github-style Alerts, Callouts, etc. (Beta) #1280

jon-sully opened this issue Jan 20, 2024 · 9 comments
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on

Comments

@jon-sully
Copy link

Initial checklist

Problem

Github recently implemented a very neat feature for adding various tagged callouts to GFM. I'd love to use this in my various projects internally relying on Remark! Typora (the application I actually write most of my content in) also recently added support, though I'm not sure which markdown engine they're running

https://github.com/orgs/community/discussions/16925

Solution

Not exactly sure the implementation here, but the discussion link over on the GFM side illustrates the intended outcome well!

Alternatives

It's not currently implemented, so I suppose the alternative is to just not do this 😉😜

@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 Jan 20, 2024
@JounQin
Copy link
Member

JounQin commented Jan 20, 2024

Duplicate of remarkjs/remark-gfm#53

@JounQin JounQin marked this as a duplicate of remarkjs/remark-gfm#53 Jan 20, 2024
@JounQin JounQin closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2024

This comment has been minimized.

@JounQin JounQin added 👎 phase/no Post cannot or will not be acted on 🙋 no/question This does not need any changes and removed 🤞 phase/open Post is being triaged manually labels Jan 20, 2024
Copy link

Hi! Thanks for reaching out! Because we treat issues as our backlog, we close issues that are questions since they don’t represent a task to be completed.

See our support docs for how and where to ask questions.

Thanks,
— bb

@jon-sully
Copy link
Author

D'oh! Apologies!

@jon-sully
Copy link
Author

Note for others — this got implemented as a Rehype plugin. See https://github.com/chrisweb/rehype-github-alerts

@LuudJanssen
Copy link
Contributor

I also created a Remark plugin to transform GitHub's syntax to the directives syntax: remark-github-admonitions-to-directives

@wooorm

This comment was marked as off-topic.

@LuudJanssen

This comment was marked as resolved.

@wooorm
Copy link
Member

wooorm commented Mar 4, 2024

ahh right, sorry, missed the last part!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

4 participants