Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ShortFormatText Source #
The text format for the title.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
See: newShortFormatText
smart constructor.
Instances
newShortFormatText :: ShortFormatText Source #
Create a value of ShortFormatText
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:plainText:ShortFormatText'
, shortFormatText_plainText
- Plain text format.
$sel:richText:ShortFormatText'
, shortFormatText_richText
- Rich text. Examples of rich text include bold, underline, and italics.
shortFormatText_plainText :: Lens' ShortFormatText (Maybe Text) Source #
Plain text format.
shortFormatText_richText :: Lens' ShortFormatText (Maybe Text) Source #
Rich text. Examples of rich text include bold, underline, and italics.