code: def test_mkdw010_mathjax_with_html(dash_dcc):
      app = Dash(__name__)
  
      CONTENT = [
          """
      <details>
          <summary>Topic</summary>
          Some details
      </details>
  
      $E = mc^2$
      """,
          """
      <p>Some paragraph</p>
  
      $E = mc^2$
      """,
          """
      <p>Some paragraph</p>
      $E = mc^2$
      """,
          """
      <p>Some paragraph</p> $E = mc^2$
      """,
          """
      <p>Some paragraph with $E = mc^2$ inline math</p>
      """,
      ]
  
      app.layout = html.Div(
          [
              dcc.Markdown(c, dangerously_allow_html=True, mathjax=True)
              for c in CONTENT
          ]
      )
  
      dash_dcc.start_server(app)
  
      dash_dcc.wait_for_element(".MathJax")
      assert len(dash_dcc.find_elements((".MathJax"))) == len(CONTENT)
  
file_path: dash/components/dash-core-components/tests/integration/markdown/test_markdown.py
imports: import pytest
  from dash import Dash, dcc, html, Input, Output
  from dash.testing.wait import until
label_desc: Use image node_id 10 for calling a global function with example usage: test_mkdw010_mathjax_with_html(dash_dcc) without return types