package
0.0.0-20240614105536-5788b19145bc
Repository: https://github.com/diamondburned/chatkit.git
Documentation: pkg.go.dev

# Functions

Markup renders the markup string for the given user inside the given room.
NewChip creates a new Chip widget.
Text renders the author's name into a rich text buffer.
WithColor sets the color of the rendered output.
WithMention makes the renderer prefix an at ("@") symbol.
WithMinimal renders the markup without additional information, such as pronouns.
WithShade renders the markup with a background shade.
WithSuffix adds a small grey suffix string into the output string if the Minimal flag is not present.
WithSuffixMarkup is like WithSuffix, except the input is taken as valid markup.
WithTextTagAttr sets the given attribute into the text tag used for the author.

# Constants

smaller than usual.

# Structs

Chip describes a user chip.

# Type aliases

MarkupMod is a function type that Markup can take multiples of.