I’m trying to develop a plugin that performs a search at block level and then as results it previews the blocks found.
++DISCLAIMER++ I have basically no idea how to code, I’m doing everything with artificial intelligence with a lot of patience. Sorry for all the real developers out there
Anyway, I’m at the point where I’m managing to preview blocks, but only those that have already been referenced, i.e. the blocks that already have their ID written ad the end.
Which API* should I use in order to access to implicit blocks and preview them even if they don’t have an explicit ID? I’m sure that it’s possible, given that when you make a block reference Obsidian preview every block, explicit or implicit. The AI says that MetadataCache only stores explicit blocks (sorry, I don’t read the documentation simply because I’m not able to understand it), so where should I look? The AI is not able to tell me and it’s inventing alternative workaround to determine a block based on markdown structure (which is a good workaround, but I don’t like it anyway).
*I don’t know if it’s the correct term.