code: def markdown_to_safe_html(markdown_string):
      """Convert Markdown to HTML that's safe to splice into the DOM.
  
      Arguments:
        markdown_string: A Unicode string or UTF-8--encoded bytestring
          containing Markdown source. Markdown tables are supported.
  
      Returns:
        A string containing safe HTML.
      """
      return markdowns_to_safe_html([markdown_string], lambda xs: xs[0])
  
imports: import threading
  from bleach.sanitizer import Cleaner
  import markdown
  from tensorboard import context
  from tensorboard.backend import experiment_id
  from tensorboard.util import tb_logging
label_desc: Use image node_id 2 for calling a global function with example usage: markdown_to_safe_html(markdown_string) and returns: markdowns_to_safe_html