code: def test_code_blocks_render_correctly(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      """Test that the code blocks render as expected via screenshot matching."""
      code_blocks = themed_app.get_by_test_id("stCodeBlock")
  
      assert_snapshot(code_blocks.nth(0), name="st_code-auto_lang")
      assert_snapshot(code_blocks.nth(1), name="st_code-empty")
      assert_snapshot(code_blocks.nth(2), name="st_code-python_lang")
      assert_snapshot(code_blocks.nth(3), name="st_code-line_numbers")
      assert_snapshot(code_blocks.nth(4), name="st_code-no_lang")
      assert_snapshot(code_blocks.nth(5), name="st_markdown-code_block")
  
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 3 for calling a global function with example usage: test_code_blocks_render_correctly(themed_app, assert_snapshot) without return types