code: def escape_path(word):
      return (
          word.replace("$ ", "$$ ")
          .replace(" ", "$ ")
          .replace(":", "$:")
      )
  
imports: import re
  import textwrap
label_desc: Use image node_id 1 for calling a global function with example usage: escape_path(word) and returns: word