Commit 25d9e62b authored by Craig Norris's avatar Craig Norris Committed by Suzanne Selhorn

Add FLAG alert type to Style Guide

parent 565a4b68
...@@ -1337,8 +1337,13 @@ example: ...@@ -1337,8 +1337,13 @@ example:
Use alert boxes to call attention to information. Use alert boxes to call attention to information.
Alert boxes are generated when the words `NOTE:` or `WARNING:` are followed by a Alert boxes are generated when one of these words is followed by a line break:
line break. For example:
- `FLAG:`
- `NOTE:`
- `WARNING:`
For example:
```markdown ```markdown
NOTE: NOTE:
...@@ -1351,6 +1356,11 @@ To display an alert box for multiple paragraphs, lists, or headers, use ...@@ -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>). Alert boxes render only on the GitLab documentation site (<https://docs.gitlab.com>).
In the GitLab product help, alert boxes appear as plain text. 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 ### Note
Use notes sparingly. Too many notes can make topics difficult to scan. 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