Closed TylerFisher closed 2 years ago
Yes, it's possible to do this.
I was able to update the document processing to result in the following for first a blockquote - an indented paragraph of text - and then a regular non-indented paragraph:
{
"children": [
{
"index": 74,
"style": {},
"content": "“This should be a block quote,” said the tester."
}
],
"link": null,
"type": "blockquote",
"index": 74,
"style": "NORMAL_TEXT"
},
{
"children": [
{
"index": 109,
"style": {},
"content": "Another regular paragraph of text."
}
],
"link": null,
"type": "text",
"index": 109,
"style": "NORMAL_TEXT"
}
I think it could be enough to label the element as "blockquote" instead of "text" for the purposes of rendering it different, right?
Yup, that would work.
Is it possible to detect an indented block like this?