How to superscript text in code?

Can’t find anything in the docs about superscripting or subsripting text using api. I want to subscript text from my plugin

There is currently no such API, so you won’t be able to apply superscript/subscript.

you can now read this in opentypefeatures, but don’t seem to be able to set it.

Read / write of all style properties would be super helpfull. Currently we can only support a subset of formats in the Parrot Plugin for that reason at the moment.