Very basic API question: appending elements to view footer

First custom plugin I need to create. I can handle JS/React but I can’t find a beginner-friendly tutorial to the Obsidian API.

I’m trying to append Obsidian internal links to the rendered view of each note’s footer, without modifying the file (e.g. add the internal link [[foo]] at the bottom of every note).

I’ve tried different approaches inside registerMarkdownPostProcessor, with little success. I don’t know if I should manually create the HTML elements (“<a href” etc, define a React component or use an API function.

I can’t find the recommended way to do this in the API docs, and ChatGPT or Google aren’t a big help either.

If someone could supply a basic example code for adding the link to the note foo.md as [[Foo]] I could pick it up from there.

Thanks a lot for your help.

OK, I’ll try to be more precise.

I have a custom Dataview view script (footer.js file), which is appended to notes using a template, and looks like this (always at the end of a note) :

```dataviewjs
await dv.view('meta/code/footer')

What would be a quick and dirty method (I don’t plan on publishing it) to make a plugin out of this, so I don’t need to add the template to each file? I simply would like the view to be appended to any displayed note.

Thanks.