code: def get_cached_func_name_md(func: Any) -> str:
      """Get markdown representation of the function name."""
      if hasattr(func, "__name__"):
          return "`%s()`" % func.__name__
      elif hasattr(type(func), "__name__"):
          return f"`{type(func).__name__}`"
      return f"`{type(func)}`"
  
imports: import types
  from typing import Any, Optional
  from streamlit import type_util
  from streamlit.errors import MarkdownFormattedException, StreamlitAPIException, StreamlitAPIWarning
  from streamlit.runtime.caching.cache_type import CacheType, get_decorator_api_name
label_desc: Use image node_id 1 for calling a global function with example usage: get_cached_func_name_md(func) and returns: str, type, str, unknown, str, type, str