code: def format_html(s):
      return '<p style="font-family:courier;white-space:pre;line-height: 115%;">{}</p>'.format(
          str(s)
          .replace("<", "&lt")
          .replace(">", "&gt")
          .replace("\n", "</br>")
      )
  
file_path: hail/hail/python/hail/experimental/interact.py
imports: from IPython.display import display
  from ipywidgets import widgets
  import hail
  from hail.expr.types import summary_type
label_desc: Use image node_id 5 for calling a global function with example usage: format_html(s) and returns: str