How to handle the content markup

I created some content with a few images. In the text content, it is using some markup to represent image (but it seems not the same as wikipedia markup). When I fetch the content from Graphql API, it shows the markup in stead of a image html tag.

I am wondering what markup in the content editor is supporting. And how to convert the markup to normal html tag in java or javascript?

Hi @chooli.yip

To create the content with images, did you use “Long text” field or “Rich text” field? You could also share how the markup you’re getting from the GraphQL API looks.

1 Like

Adding to Joanna’s response, if you are using a Rich Text field, this is a great resource to further understand how you can use markup: