code: def doxygen_to_markdown(string):
      """Doxygen to Markdown equations"""
      long_equations = re.sub(
          r"\\f\[(.*?)\\f\]", r"$$\g<1>$$", string, flags=re.DOTALL
      )
      inline_equations = re.sub(r"\\f\$", "$", long_equations)
      return inline_equations
  
label_desc: Use image node_id 2 for calling a global function with example usage: doxygen_to_markdown(string) and returns: inline_equations