redhatgov.github.io icon indicating copy to clipboard operation
redhatgov.github.io copied to clipboard

Document available alert shortcodes

Open jaredhocutt opened this issue 7 years ago • 2 comments

Are there more text call out options beyond alert warnings?

{{< alert warning >}} A project is technically a Kubernetes namespace with additional annotations. {{< /alert >}}

The OpenShift workshop I was converting uses other callout options, beyond :warning: such as:

:information_source: :notebook: :thought_balloon:

​Are these available using the workshop format?​


Original suggestion from @jvanmeter

jaredhocutt avatar Jun 12 '17 19:06 jaredhocutt

I found the following four alert codes. Are there any others supported?

{{< alert success >}} Example of 'alert success' {{< /alert >}} {{< alert info >}} Example of 'alert info' {{< /alert >}} {{< alert warning >}} Example of 'alert warning' {{< /alert >}} {{< alert danger >}} Example of 'alert danger' {{< /alert >}}

image

jvanmeter avatar Jun 16 '17 21:06 jvanmeter

Those are the supported alerts. We are using PatternFly and here are the docs on it's available alerts: http://www.patternfly.org/pattern-library/communication/inline-notifications/

jaredhocutt avatar Jun 19 '17 13:06 jaredhocutt