-
Notifications
You must be signed in to change notification settings - Fork 66.7k
Correct Alerts syntax or clarify context where they are expected to work #27919
Copy link
Copy link
Closed
Labels
SME reviewedAn SME has reviewed this issue/PRAn SME has reviewed this issue/PRcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamget startedContent related to "Getting Started" doc setContent related to "Getting Started" doc sethelp wantedAnyone is welcome to open a pull request to fix this issueAnyone is welcome to open a pull request to fix this issuepumpkin-spiceSpecifically tracked Hacktoberfest issue - internal purposesSpecifically tracked Hacktoberfest issue - internal purposes
Metadata
Metadata
Assignees
Labels
SME reviewedAn SME has reviewed this issue/PRAn SME has reviewed this issue/PRcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamget startedContent related to "Getting Started" doc setContent related to "Getting Started" doc sethelp wantedAnyone is welcome to open a pull request to fix this issueAnyone is welcome to open a pull request to fix this issuepumpkin-spiceSpecifically tracked Hacktoberfest issue - internal purposesSpecifically tracked Hacktoberfest issue - internal purposes
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code of Conduct
What article on docs.github.com is affected?
I have tried all of the syntax under the Alerts section and none of them seem to work. The note says a prior syntax is deprecated and you should "use the syntax as described in this section" implying what follows currently works. It mentions this is an extension of markdown, but doesn't clarify in what contexts it should work. At least it doesn't work in github project readme.md files.
Additionally I would say screenshots shouldn't be used as the rendering example. Just repeat the syntax itself without code ticks to demonstrate what it renders as-is since you are already in a github md file.
https://github.com/github/docs/blob/e77f16ab2c0fa2603239f8ef5fe51cae7f27dbcf/content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md
What part(s) of the article would you like to see updated?
The Alerts section
Additional information
My attempts to follow the instructions as well as variations I saw suggested when discussion Alerts not working:
Compared to the screenshot from within the article:

Update by a maintainer
Content change suggested to fix this issue
We need to make it clear which markdown content this syntax is supported in. When you edit an existing markdown file, the preview may not display the alert correctly. It would also be helpful to update the note about syntax to include a short example of what the deprecated syntax is (
> **Note**from https://github.com/orgs/community/discussions/16925).We can do this by editing the "Alerts" section of the basic writing article.