text_break: Break long text

View source: R/text-break.R

text_breakR Documentation

Break long text

Description

The text_break() function is used to break long strings of text within a tag element.

Usage

text_break(x)

Arguments

x

A tag element or .style pronoun.

Value

An object of the same type as x.

See Also

Other text utilities: text_alignment(), text_color(), text_decoration(), text_height(), text_selection(), text_style(), text_transform(), text_weight(), text_wrap()

Examples


library(htmltools)

div(
  .style %>%
    text_break(),
  "wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww"
)


cascadess documentation built on Oct. 30, 2024, 9:29 a.m.