code: def format_icon(title, link, image):
      body = r"""
     .. grid-item-card:: {}
        :link: {}
        :text-align: center
        :class-title: pyvista-card-title
  
        .. image:: ../images/external-examples/{}
  """
      content = body.format(title, link, image)
      return content
  
imports: from io import StringIO
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: format_icon(title, link, image) and returns: content