I want to plot math symbols in a plotly dash app.
For example, I've Tried this:
import dash
import dash_html_components as html
app = dash.Dash(__name__)
app.layout = html.Div(
children=[
html.P(r'$ Area (m^{2}) $'),
dcc.Markdown(r'$ Area (m^{2}) $')
]
)
app.run_server()
and this was the result:
How can I get these result?


