Commit d982b664 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs-flag-alert-add' into 'master'

Add FLAG alert type to Style Guide

See merge request gitlab-org/gitlab!67506
parents e3b14ac6 25d9e62b
......@@ -1337,8 +1337,13 @@ example:
Use alert boxes to call attention to information.
Alert boxes are generated when the words `NOTE:` or `WARNING:` are followed by a
line break. For example:
Alert boxes are generated when one of these words is followed by a line break:
- `FLAG:`
- `NOTE:`
- `WARNING:`
For example:
```markdown
NOTE:
......@@ -1351,6 +1356,11 @@ To display an alert box for multiple paragraphs, lists, or headers, use
Alert boxes render only on the GitLab documentation site (<https://docs.gitlab.com>).
In the GitLab product help, alert boxes appear as plain text.
### Flag
Use this alert type to describe a feature's availability. For information about how to format
`FLAG` alerts, see [Document features deployed behind feature flags](../feature_flags.md).
### Note
Use notes sparingly. Too many notes can make topics difficult to scan.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment