@tmlmt/cooklang-parser / TextItem
Interface: TextItem
Represents a text item in a recipe step.
Properties
attribute?
optionalattribute:TextAttribute
The formatting attribute of the text item, if any.
href?
optionalhref:string
The URL target, only present when attribute is "link".
type
type:
"text"
The type of the item.
value
value:
string
The content of the text item.