UserBylineTag
struct UserBylineTag : UnsafeUnescapedLeafTag
Usage: #userByline(userHeader) Or: #userByline(userHeader, “css-class”) to style the link Or: #userByline(userHeader, “short”) to display a shorter link (only the username, no displayname). Or: #userByline(userHeader, “nolink”) to display the username and displayname, without a link Or: #userByline(userHeader, “pronoun”) to display the username and displayname with pronouns.
-
Declaration
Swift
func render(_ ctx: LeafContext) throws -> LeafData