Content_block.TextPlain text content blocks.
jsont is the Jsont codec for text blocks. Use Jsont.Json.encode jsont and Jsont.Json.decode jsont for serialization. Use Jsont.pp_value jsont () for pretty-printing.
val create : string -> tcreate text creates a new text block with the given text content.
val text : t -> stringtext t returns the text content of the block.