Every now and again, I see text similar to this in a question (in an otherwise valid question):
... or if anyone can recommend a library to do this, I'd appreciate it.
Since we have this close reason:
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
I figure that the above part of the question is off topic and should be edited out.
Is this the correct course of action?
And then there's answers that recommend off-site resources regardless of whether the question asks for it or not, like this one (recommending a highlighting plugin as an answer to a question asking how to highlight a word).
Now people call it a link-only answer. Okay, but you probably can't really edit it to include context from the link, unless you add something like:
This plugin highlights various parts of text such as ... and allows you to ...
But that doesn't change the fact that you're recommending an off-site resource and, since asking for it isn't allowed (as per the above close reason), presumably recommending it shouldn't be allowed for the same reason.
So, is this answer unsalvageably invalid for this reason?
This does use the same example as the above-linked discussion, but asks a different question altogether, so I don't believe it's even remotely close to a duplicate of that.
I realize that is an old answer and should maybe be treated differently for that reason (sorry, I don't really have a newer example on hand), but the general question should hold regardless.
However, while it makes sense to do this from the link-only-answer aspect, it doesn't seem to make sense to do it from the recommending-an-off-site-resource aspect, much in the same way an old popular question asking for an off-site resource should be closed (except that closing doesn't imply deletion, so ... convert the answer to a comment instead?).
Or am I just misunderstanding the motivation behind this close reason?