Change text color for individual blocks or even words

there’s a way to include [[pages]]? with the @mentaloid’s css styles code we get something like this,

image

edit: actually, setting a custom definition maybe will make the colour decision more significant?

.page-ref[data-ref="Your Page Name"] {
            color: blue; /* Replace 'blue' and 'Your Page Name' accordingly */
        }