code: def test_mkdw002_dcclink(dash_dcc):
      app = Dash(
          __name__, eager_loading=True, assets_folder="../../assets"
      )
  
      app.layout = html.Div(
          [
              html.Div(["Markdown link"]),
              dcc.Markdown(["[Title](title_crumb)"]),
              html.Div(["Markdown dccLink"]),
              dcc.Markdown(
                  ['<dccLink href="title_crumb" children="Title" />'],
                  dangerously_allow_html=True,
              ),
              html.Div(["Markdown dccLink - explicit children"]),
              dcc.Markdown(
                  [
                      """
              <dccLink href="title_crumb">
                  Title
              </dccLink>
          """
                  ],
                  dangerously_allow_html=True,
              ),
              html.Div("Markdown dccLink = inlined"),
              dcc.Markdown(
                  [
                      'This is an inlined <dccLink href="title_crumb" children="Title" /> with text on both sides'
                  ],
                  dangerously_allow_html=True,
              ),
              html.Div("Markdown dccLink - nested image"),
              dcc.Markdown(
                  [
                      """
              <dccLink href="title_crumb">
                  <img src="assets/image.png" />
              </dccLink>
          """
                  ],
                  dangerously_allow_html=True,
              ),
              html.Div("Markdown dccLink - nested markdown"),
              dcc.Markdown(
                  [
                      """
              <dccLink href="title_crumb">
                  <dccMarkdown children="## Title" />
              </dccLink>
          """
                  ],
                  dangerously_allow_html=True,
              ),
              html.Div("Markdown dccLink - nested markdown image"),
              dcc.Markdown(
                  [
                      """
              <dccLink href="title_crumb">
                  <dccMarkdown children="![Image](assets/image.png)" />
              </dccLink>
          """
                  ],
                  dangerously_allow_html=True,
              ),
              html.Div(
                  "Markdown dccLink - requires dangerously_allow_html"
              ),
              dcc.Markdown(
                  ['<dccLink href="title_crumb" children="Title" />']
              ),
          ]
      )
  
      dash_dcc.start_server(app)
      assert dash_dcc.get_logs() == []
  
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 2 for calling a global function with example usage: test_mkdw002_dcclink(dash_dcc) without return types