array content( start, limit, inline_type, pages )
Parameters:
- start
Index of the first block to retrieve. Defaults to 0 (the first). This parameter is ignored if the
pages
parameter is true.- limit
The number of blocks to retrieve. Defaults to all blocks in the content. This parameter is ignored if the
pages
parameter is true.- inline_type
The type of template to use to render inline assets within the content.
- pages
Pass true to split the content into pages based on page breaks inserted by the author.
Return:
If the pages
parameter is false (the default behavior):
A list of strings, with each string being a top-level block-level content element (paragraph, table, etc).
If the pages
parameter is true:
A list of page objects. Each page is itself a list of block-level elements as above.