Dataview plugin snippet showcase

Hi all, I’m having trouble getting the ‘Find All Direct And Indirectly Linked Pages’ example from Codeblock Examples - Dataview to work.

When I cut and paste the codeblock, adding the three ticks and using ‘dataviewjs’ all I get is a really think block with no visible content (see screenshot - this is just a sliver of the ‘edit code’ button)

.

On the page where the code is pasted are 2 obsidian links and 1 embedded pdf, which I would have expected to be returned in the results…

Thank you for any help or advice you may have.