Superscript with elm-ui

I have an elm-ui app and I am trying to create an element with a superscript component (e.g. x10^9/L) where ^9 would be superscript.

I have read the docs and the only way I can see to do this is to use Element.Font.variant (Element.Font.feature “sups” True). This doesn’t appear to work though.

Does anyone have any ideas?

Could you use the html or htmlAttribute functions?

Of course, thank you very helpful.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.