- Notifications
You must be signed in to change notification settings - Fork909
docs: fix formatting of note callouts#16761
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
github-actionsbot commentedMar 2, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
ethanndickson commentedMar 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
From my work on a different branch, it doesn't look like Coder.com supports the
Works on GitHub though |
Thanks for the tip@ethanndickson. Updated the PR so that callouts found in documentation located in the |
Parkreiner commentedMar 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@ethanndickson The specific blockquote syntax is actually part of something that GitHub themselves came up – Github-Flavored Markdown. This is themain spec doc, andthis is the cheatsheet where they describe how the comments are supposed to work. I just added support for these to the Coder Registry the other week. We already use them extensively throughout our projects (including a lot of Coder Modules and Templates), so my gut feeling is that it'd be a mistake to switch away from them. So realistically, there's a good chance that we want to update the docs to make sure they render correctly on GitHub, but then also update how we render them, across both the private Coder.com repo, and the public @matifali Does that sound right to you? I know we have an issue about adding GFM to Coder.com that's from 2023, but I wasn't sure if it's still something we're actively trying to support. We already have a custom system partly in place because we have code that processes HTML blockquotes that use the
@lucasmelin Sorry for the confusion – you did absolutely nothing wrong, especially with a lot of this still being undocumented. I'd say to sit back until Atif responds, but you may end up needing to swap back to your previous commit |
matifali commentedMar 3, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@Parkreiner, I would be all in for supporting GFM over our custom callouts. The benefit is consistency on our side and GitHub. If its easy to support, I would love to see us supporting GFM on Coder docs. |
@lucasmelin I went ahead and bumped the ticket for updating Coder.com to start rendering GFM alerts properly. My team is still figuring out some sprint priorities, but depending on how things go, I might be able to tackle that issue later this week In the meantime, could you swap back to the GFM alert syntax? I think there's enough consensus at Coder that we want to treat GFM as the standard, and treat any cases where we don't conform to it as a bug |
This reverts commitc2aa359.
Switched back to GFM note callouts for the documentation located in the |
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 for doing this! I'm going to try to update the Docs site as soon as my current work is wrapped up
Going to be merging this in for you right now. One of other engineers (@aqandrew) was kind enough to open up a PR for updating the Coder.com site to parse GFM properly The Docs site should hopefully be all fixed up in the next few hours |
db064ed
intocoder:mainUh oh!
There was an error while loading.Please reload this page.
@EdwardAngert, can you please do a follow-up PR to update all remaining callouts to GFM alerts? |
aqandrew commentedMar 7, 2025
Thank you for the PR@lucasmelin! coder.com/docs now renders these GFM alerts correctly. ![]() |
😮 ❣️ |
thanks y'all! I'm starting a PR to find all the other callouts for me:GitHub docs: alerts |
Fixes the formatting of several note callouts. Previously, these would render incorrectly both on GitHub and on the documentation site.
Example:
