code: def test_displays_markdown(app: Page):
      """Test that markdown is displayed correctly."""
  
      markdown_elements = app.get_by_test_id("stMarkdown")
      expect(markdown_elements).to_have_count(9)
  
      expect(markdown_elements.nth(0)).to_contain_text("Hello World")
      expect(markdown_elements.nth(1)).to_contain_text(
          "This markdown is awesome! 😎"
      )
      expect(markdown_elements.nth(2)).to_contain_text(
          "This <b>HTML tag</b> is escaped!"
      )
      expect(markdown_elements.nth(3)).to_contain_text(
          "This HTML tag is not escaped!"
      )
      expect(markdown_elements.nth(4)).to_contain_text(
          "This HTML tag is also not escaped!"
      )
      expect(markdown_elements.nth(5)).to_contain_text("100")
      expect(markdown_elements.nth(6)).to_contain_text("None")
      expect(markdown_elements.nth(7)).to_contain_text(
          "2021-01-01 00:00:00"
      )
      expect(markdown_elements.nth(8)).to_contain_text("1.0")
  
file_path: streamlit/e2e_playwright/st_write_test.py
imports: from playwright.sync_api import Page, expect
label_desc: Use image node_id 1 for calling a global function with example usage: test_displays_markdown(app) without return types