When creating a post using the WordPress REST API, should the post body content include HTML or should the post body content be written in Markdown language? Or can it be either?
I'm looking to include simple HTML such as links, formatting (
<strong> tags) and possibly images (hosted elsewhere, like for example
<img alt="Test example image" src="https://via.placeholder.com/150">).
I've seen many examples just using plain text strings and I'd like to know how to tell the WordPress API that I want to create a new post with HTML content in the post body.
Please could someone advise and offer some clarity?
I've seen someone else have difficulty when using HTML for images and so I'm not sure - Create post using rest api with html content
If you need more information from me to best answer this please do let me know.
Really hope you can help! Thank you.