Data in the post content

Is it possible to use a post’s data say a ‘title’ or ‘[extra]’ within the content section – and further in a shortcode.

title = “My title”

[etc]

array = [
{data=“whatever”},
{data=“whatever”}
]
+++

My page title is {{page.title}}


Here is my array of data

page.extra.array

Ive tried a few things but nothing. Anyone

And lacking that perhaps using an array within content – not defined with [extra]

+++
{{ print( [
{data=“whatever”},
{data=“whatever”}
]) }}

One can use config and page metadata in a shortcode but not within the page.content.

And most importantly, seems like html code needs to be left-aligned or it will render as text, text in <pre>, or <pre><code>.