Type MethodMethodmarkup(for:
markup(for:additionalClass:)
Builds the icon of a topic type, wrapped like swift-docc-render’s Topic.
static func markup(
for type: String,
additionalClass: String = ""
) -> StringParameters
typeA type name; it is normalised with
normalised.Type(_:) additionalClassFurther classes of the wrapper, such as
navigator-icon.
Return Value
A <span> with the class class holding the SVG icon.