Getting markdown out of AI Agents and Tools

Last I remember, Notion API doesn’t autocovert Markdown to formatted blocks so this is something you’d have to do yourself. In you search around stackoverflow, there are a number of posts which suggest using a library to help with this.

I kinda wanted to experiment if we could get AI to do this instead.
Here are the results.

  • It works pretty well but haven’t tested with large bodies of text
  • Can’t use the notion node as it doesn’t allow use of raw JSON

Hope this helps!


3 Likes