Linked Questions
28 questions linked to/from I've been told to create a "runnable" example with "Stack Snippets". How do I do that?
-1
votes
2
answers
225
views
How do I add CSS libraries to my Stack Snippet? [duplicate]
When I asked the question I wanted to include a Stack Snippet, but the images, fonts and the Bootstrap grid were giving me issues, so I'm asking if there is a way that could be fixed.
This is what I'm ...
-11
votes
1
answer
153
views
Do I need to put onloads and main elements in code snippets? [duplicate]
RELATED: Allow us to choose a doctype for Stack Snippets
I can put this in a code snippet:
$("#box").css("color", "red");
<div id="box">Hello, World!</div>
I can also do this:
...
0
votes
0
answers
70
views
What is the correct way to enter code snippets? [duplicate]
How do you enter code so that it presents a "Run Snippet" button at the bottom?
I have tried using [ code ] [ /code ] and < code > < /code > tags (without the spaces)
and ...
-4
votes
1
answer
115
views
How do you ask a question with a code snippet? [duplicate]
I see a header with formatting tips but nothing for code snippets. Am I missing it?
2
votes
0
answers
45
views
Stack snippets: are there any official guides on this function? [duplicate]
I've seen some users using snippets but I'm not sure how to do it myself. Might sound trivial but I'd like to know.
Using JSFiddle or CodePen to show working code doesn't seem as effective as using ...
144
votes
1
answer
8k
views
How do I create a React Stack Snippet with JSX support?
In the Stack Snippets editor, I can see a drop-down box for including a version of React, but how do I actually create a snippet using React with JSX in it?
Return to FAQ index
59
votes
11
answers
1k
views
Question Close Reasons - Definitions and Guidance
This community-wiki Q&A is a compiled set of guidance for the close reasons used on Stack Overflow.
It's meant to be a canonical repository and a resource for the community – both for authors of ...
120
votes
2
answers
1k
views
Can we please get the "How to create an MCVE" help page updated, to state that a link to a GitHub project is generally NOT an acceptable MCVE?
I'm seeing more and more questions where the asker posts an excerpt of code, that by itself is not runnable, with a link to a GitHub repo and... that's it. (In some of the more egregious examples, ...
55
votes
1
answer
1k
views
Unrunnable/useless Stack Snippets in Suggested Edits
Lately, I’ve seen some suggested edits from a particular user that simply change a code block into a Stack Snippet. (Almost all of their suggestions are just this). Sometimes, the snippet isn’t even ...
20
votes
2
answers
466
views
How do I demonstrate a preventDefault problem on a link in a Stack Snippet?
I need to demonstrate a problem with using preventDefault to prevent following a link, but Stack Snippets won't let me have a link that navigates to another page or opens a new window. So how do I ...
134
votes
0
answers
23k
views
FAQ Index for Stack Overflow
Community FAQ
(For Stack Overflow and Meta Stack Overflow)
For official guidance from Stack Exchange, visit the Help Center.
Stack Overflow is part of a wider network; for issues that apply to Stack ...
16
votes
4
answers
365
views
Mention online compilers on the Minimal, Reproducible Example page?
(Note: This is mainly motivated by what I observe in the C++ tag - other tags may have different experiences - please share!)
Many times a day we link people to the Minimal, Reproducible Example site....
-12
votes
3
answers
187
views
Why was this question about an animation on a linked page closed? [duplicate]
I have a question about my Stack Overflow post: What kind of animation is used?
I was simply asking for a CSS rule implemented in a particular site which I found online.
Full question text, since the ...
46
votes
1
answer
424
views
MCVE page should mention Stack Snippets
Currently the Stack Overflow MCVE page doesn't mention Stack Snippets. It really, really should, e.g. as a new paragraph just under the initial set of bullet points:
If your question is about HTML, ...
-14
votes
1
answer
230
views
Wondering why my pretty detailed question was closed for needing 'more details and clarity'
I have a question about my Stack Overflow post: ReCAPTCHA v3 badge glitches between inline and bottom-right when I hover over it or my form
All the advice for understanding more information on the ...