I just looked at the how-to-ask page, and say this section
If it is possible to create a live example of the problem that you can link to (for example, on http://sqlfiddle.com/ or http://jsbin.com/) then do so - but also include the code in your question itself. Not everyone can access external sites, and the links may break over time.
Should that text also mention StackSnippets? I see it mentions include the code, but (to me) it's not clear that you can embed the snippet, and I feel it could be interpreted as "Dump all the code in the question". Or, has it been excluded in order to keep the page as simple and brief as possible?