I don’t know how GitHub Pages works or similar.
But it’s logic that plugins don’t work outside Obsidian. You can see also a lot of complains /request to plugins work for Obsidian Publish.
Considering only the way to capture the rendered results, why not a copy of the html code? For example, if you create a table with dataview you can open the dev. tools and target the wanted table.
Then you can copy all the “div” that contains your table and “paste” the html code directly in your note.
When in preview mode, your “html” table becomes a similar dataview table.
This works inside Obsidian. I don’t know the behavior of the links in GitHub pages.