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

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')])
1 Like