Subscript and superscript are currently not supported in UniAst.
Note that BlockNote does not support these features either (tracking issue: https://github.com/TypeCellOS/BlockNote/issues/1747) so custom inline contents will be necessary.