I'm new here, and have answered a couple of questions where MWEs weren't really appropriate because the solutions involved minor tweaks to really long
I've made do with adding the specific code chunk within the context of the local section in my answers, and a screenshot of the result, but it would be better to allow people to actually see it working.
I work in Overleaf, and it seems simple to just provide an Overleaf link to the full project. Presumably people don't do this because of linkrot, but is there any other reason that it shouldn't be done, for example in addition to the code chunk?
And if I do include the link, an edit link or a read-only link? You don't need an account for read-only, but the trade-off is that you can't duplicate the project (sort of assuming - I don't have a second account with which to test this).
See recent answer where I gave this a go: Publisher name does not appear in a technical report bibliography entry in ACM format