LinkBuilder
Functions
Link copied to clipboard
Set a OudsLinkAnnotation.Clickable for the given range defined by start and end.
Set a OudsLinkAnnotation.Url for the given range defined by start and end.
Link copied to clipboard
Ends the style or annotation that was added via a push operation before.
Ends the styles or annotation up to and including the StrongBuilder.pushStrong or LinkBuilder.pushLink that returned the given index.
Link copied to clipboard
Attach the given OudsLinkAnnotation to any appended text until a corresponding pop is called.
Link copied to clipboard
inline fun <R : Any> OudsAnnotatedString.LinkBuilder.withLink(link: OudsLinkAnnotation, block: OudsAnnotatedString.LinkBuilder.() -> R): R
DSL helper for applying link formatting to a block of text.