Sorry we’ve been so slow to reply here! You need to specify the body in Document Format, markup won’t work - but there’s a pretty handy tool to help - check out the document builder at Document builder
For example, to display part of your text in red you’d use:
"version": 1,
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "This is red ",
"marks": [
{
"type": "textColor",
"attrs": {
"color": "#ff5630"
}
}
]
},
{
"type": "text",
"text": "but this is not. "
}
]
},
{
"type": "paragraph",
"content": []
}
]
}
Hope this helps, even though it’s a few months late.
Cheers,
Mel