How can I automatically obtain the div id from my app block?

When I insert my app into a theme via app blocks, a div is created with what seems to be a unique generated id.

Besides visiting the page, inspecting it, and manually copying that ID, is there a way to automatically get it?

Thanks!

Sure - {{ block.id }} :slightly_smiling_face:

If you want to use it to style specific block for example, you should include it between your block for loop. Example:

{%- for block in section.blocks -%}

{%- endfor -%}

Thank you :slightly_smiling_face: