Block Editor Handbook: Convert GitHub alert markup into callout markup in the handbook #549
Labels
Redesign
Related to the wordpress.org redesign project
Milestone
GitHub has introduced markup that allows you to easily create alerts. They look like this:
Note
An example note.
In the Handbook, we have callouts, and these need to be created using straight HTML in the documentation .md files. They look like this:
The problem is that these callouts do not look like callouts/alerts when viewed on GitHub. Here's an example of how they look in the Handbook and how they look in GitHub.
Similarly, if you use the GitHub alert markup, they will appear as block quotes in the Handbook. This is an example of the warning syntax look in GitHub and how they look in the Handbook.
The perfect solution would be for contributors to use the alert markup in the .md files, and then have a way to automatically convert this markup into the current callout HTML in the Handbook. GitHub only supports three types of alerts, and we currently have four callouts. If implemented, I recommend the Tip callout not be mapped to the GitHub alert. It's essentially the same as an Info callout.
The text was updated successfully, but these errors were encountered: