Type MethodMethodmarkup(variant:
markup(variant:text:)
Returns the markup of a badge.
static func markup(
variant: String,
text: String
) -> StringParameters
variantThe variant, such as
deprecated, or the type of a tag.textThe label of the badge.
Return Value
A span element with the class badge-<variant>.