text_break {cascadess}R 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"
)


[Package cascadess version 0.2.0 Index]