Black Lives Matter. Please consider donating to Black Girls Code today.

Concatenate Dash html.Sub to other text as a subscript [SOLVED]

subscript
I’m trying to display an equation that has a subscript (P subscript S). How can I use html.Sub to have the subscript S follow str§?

SOLVED: Realized you can pass html.Sub as a 2nd children property to html.P or html.Div:

html.P(['P', html.Sub('S')])