Sub

data class Sub(val content: String, val alias: String) : SsmlNode

Substitution alias. Rendered as <sub alias="...">...</sub>.

The TTS engine reads the alias text instead of the content.

Constructors

Link copied to clipboard
constructor(content: String, alias: String)

Properties

Link copied to clipboard

The replacement text that the TTS engine actually speaks.

Link copied to clipboard

The original text displayed to the user.