def _get_cached_func_name_md(func):
    """Get markdown representation of the function name."""
    if hasattr(func, '__name__'):
        return '`%s()`' % func.__name__
    else:
        return 'a cached function'
