A tree structure representing a text with formatting. It does not only render the text but also extract tags (e.g., mentions) from it.
getHtml(session: Session<TContextData>): AsyncIterable<string>
Render a text tree as HTML.
getTags(session: Session<TContextData>): AsyncIterable<Link>
Extract tags (e.g., mentions) from a text tree.
getCachedObjects(): Object[]
Gets cached objects. The result of this method depends on whether getHtml or getTags has been called before. It's used for optimizing the post rendering process, e.g., reusing once fetched remote objects.