How to get rich text formatting from asana task API -


Asana added rich text formatting in June 2014

How do you get formatting metadata API?

For example, if I fill in the job description in:


some bold text

  • A
  • a
  • a
  • a
  • a

  • The API returns the following for the field of field, which does not contain any formatting information:

      "Notes": "Some bold texts. \ N \ nList \ n \ nFoo \ n \ nbar \ N \ n Publisher \ nb \ nb \ nc \ nbaz"    

    We are not currently in the mean of API To support rich text formatting. However If you are feeling adventurous, then we are currently working on this support, and you get html_notes (for tasks) and html_text (for stories) You can try it by using For example, do you ? You can request them using opt_fields = html_notes .

    However note that this is still very experimental / initial support. If you do not like HTML to the parser, then it turns everything into plain text. So this is actually only when you are feeling particularly adventurous - otherwise, unless we completely support the public for this, with documentation and everything else.

  • Comments

    Popular posts from this blog

    java - ImportError: No module named py4j.java_gateway -

    python - Receiving "KeyError" after decoding json result from url -

    .net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -