What's the best way to create a markdown file?

I am using n8n cloud and want to output text as a markdown file. I’ve tried using an agent with anthropic, but I can’t find any way to create one. Any tips?

Since markdown is just plain text, you can use the Convert to file node and set it to text. From here you can either send the file somewhere or store it to disk using the Read/Write Files from Disk node.

Sample markdown:

1 Like

Thank you!

If this helped you, then please mark my answer as the solution to help me stats