text: """
  Tools for converting Box Notes to Markdown
  """
  from . import html
  
  
  def convert_simple_element_to_markdown(box_attribute):
      attribute_type = box_attribute[0]
      attribute_value = box_attribute[1]
      start = ""
      end = ""
      if not attribute_type:
          start = end = ""
      elif attribute_type == "bold":
          start = end = "**"
      elif attribute_type == "italic" or attribute_type == "underline":
          start = end = "*"
      elif attribute_type == "strikethrough":
          start = end = "~~"
      elif "font-size" in attribute_type:
          sizemap = {"small": "", "medium": "", "large": "## ", "verylarge": "# "}
          size = attribute_type.split("-")[-1]
          start = sizemap[size]
      elif attribute_type.startswith("link-"):
          start = "["
          end = "]({})".format(html._decode_link(attribute_type))
      elif attribute_type.startswith("image"):
          start = "!["
          end = "]({})".format(html._decode_image(attribute_type).get("boxSharedLink"))
      elif attribute_type == "list":
          _, level = html.get_list_info(box_attribute)
          start = "  " * (level - 1) + "* "
      return start, end
  