class Attio::Note

def to_plaintext

Get plaintext version of content
def to_plaintext
  return content_plaintext if content_plaintext
  # If no plaintext, try to get markdown/html content and strip HTML
  html_content = content_markdown || content
  return nil unless html_content
  strip_html(html_content)
end