Support Hugo alert format
What does this MR do and why?
This MR adds support for Hugo's alert format. As an alternative to the Alert shortcode, this MR allows you to create the same Note, Warning, Flag, and Disclaimer alerts using less code:
> [!NOTE]
> Note type of render-hook alert
The type of alert is specified in brackets with case-insensitive text. ("NOTE", "note", and "Note" all work.)
Screenshots, screen recordings, or links to review app
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Configure a local GitLab Docs environment.
- Check out this branch.
- In the browser, view /shortcode-tests#render-hook-alerts.
- In the shortcode-tests file or in your local copy of the GitLab repository, replace an {{< alert >}} shortcode with the Hugo alert syntax and view the result in the browser. You should see no changes.
Merge request acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
- I have evaluated the MR acceptance checklist for this merge request.
Closes #409
Edited by Pearl Latteier
