Retrieving all invalid references

Hi, sometimes when I edit my page, I would sometimes remove a block or two, which might cause some blocks’ references invalid.
I am wondering if there is some way to retrieve all invalid references. Thanks!

You can check out GitHub - logseq/graph-validator: Validate your logseq graphs

Agree this would be a nice feature. I have a python script to find invalid block references for now. It works for me and might be of some use to others