Block code in code element

Hi,
I have a plugin, which creates block codes, like:

<!-- wp:skaut-google-drive-gallery/gallery {"path":["2025"]} /-->

When I try to render this in a code element, it doesn’t get rendered. How can I use this piece of code on a bricks page?
Ben

try…

<?php 
   echo do_blocks('<!-- wp:skaut-google-drive-gallery/gallery {"path":["2025"]} /-->');
?>

1 Like

:man_facepalming: of course, thank you!!