In my plugin I need to access the text of a branch (everything below a heading and its sub-headings). This text includes dataviewjs blocks and inline code, for which I need the rendered output not the raw code.
What I tried:
- Parse html content of reading view. → Incomplete because only elements within visible view are included in the html.
- “Expand” the dv code. → Too complicated because DV API’s executeJS does not provide access to the context, and my code needs to access e.g. the contents of the editor.
- Cache rendered output myself. → registered MarkdownPostProcessor is never called???
So what other possibilities do I have?
thx