Get HTML-formatted value from the API

Hi,

we’re using the Javascript-Client (with Typescript superset) to fetch content from the REST-API.
The content team uses a column of type Long Text, where you can style the text with markdown or html or so. These styled text is not returned through the JS Client.

Is there a way to get the styles text? Minimum the line-breaks, but better the html or markdown?

Thanks

The text stored in long text column is in Markdown format. You can format it to HTML with any JS markdown format library.

But in the answers of the JS client they come as plaintext. Is this different to the bare Rest-API?

I think they are the same. Markdown is a type of plaintext format. Maybe you can paste some screenshots to better describe your problem.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.