Skip to main content

Questions tagged [stack-snippets]

Stack Snippets are runnable inline code samples. Currently HTML, CSS, and JavaScript are supported. Use this tag for bug reports, feature requests, and discussions explicitly relevant to these snippets and their underlying technologies.

5 votes
0 answers
85 views

Today, I edited at this question, and when I tested it, it said "stacksnippets.net refused to connect". This is what happens when the X-Frame-Options HTTP header is not configured for ...
Twineee The Dark Wizard's user avatar
7 votes
0 answers
130 views

Given this one-liner: console.log('%s', "", "where did my string go?"); Stack Snippets shows an empty message. Every other console implementation appends all arguments not paired with a format ...
user3840170's user avatar
  • 4,787
26 votes
0 answers
185 views

The Copy button right below an inlined Stack Snippet is confusing. A significant percentage of plagiarism flags on Stack Overflow are on posts that contain nothing more than a Stack Snippet copied ...
blackgreen's user avatar
  • 3,773
2 votes
1 answer
164 views

In the last few days I cannot see any code snippet but I see a series of [object Object] instead. Is this a personal issue or a general? This is a sample preview: This is the link to the Q/A: Can I ...
Ali Sheikhpour's user avatar
17 votes
1 answer
245 views

In question Relative/absolute positinging for html email in Outlook the main issue the the floating div, which moves below the image if the view-port is large enough. The issue is impossible to view ...
mplungjan's user avatar
  • 2,404
4 votes
0 answers
118 views

This Snippet should log two warnings: (async () => { console.warn(new Error("blah")); })(); console.warn(new Error("blah")); but it actually logs one error: Error: { "message": &...
user3840170's user avatar
  • 4,787
5 votes
0 answers
105 views

This Markdown: - foo if (Math.random() < 0.5) { console.log("hello, world!"); } else { console.log("goodbye, cruel world!"); } Renders as: foo > > if (...
user3840170's user avatar
  • 4,787
6 votes
0 answers
180 views

Both of the lines below, using the console message formatting syntax, are supposed to print "%" to the console twice, and they indeed do in the native developer consoles of Chromium, Firefox ...
user3840170's user avatar
  • 4,787
3 votes
0 answers
170 views

The code snippet window sometimes doesn't close. Below is an example of this issue on SO with Chrome + Windows 10 when I was writing a question, which prevented me from continuing to write the ...
Franck Dernoncourt's user avatar
12 votes
0 answers
141 views

In Stack Overflow, there's a useful facility for adding runnable code in HTML and JavaScript. There is a dropdown list on the left-hand side of the dialog which offers several third-party libraries. ...
quilkin's user avatar
  • 229
15 votes
0 answers
236 views

I've been wondering why there is no 'create snippet' button when asking a question on Stack Overflow! I found this meta post asking where it was 7 months ago and staff mentioned that it was being ...
Zach Jensz's user avatar
7 votes
0 answers
130 views

There have been a couple of cases when I wanted to write an answer on my iPhone and ran into non-working stack snippets editor, only to be greeted with magnificent error: not supported on mobile. Well,...
nicael -misses Sha-'s user avatar
3 votes
0 answers
318 views

Recently, I have been active a lot on the Ethereum site. It got a recent design overhaul which shows that some progression is happening. Unfortunately, one of the main issues is that the Solidity code ...
Throvn's user avatar
  • 131
12 votes
1 answer
182 views

There are two snippet icons displayed in the question's body Markdown editing tool. Clicking on both icons opens the snippet section. I am able to reproduce this on Meta Stack Exchange and Stack ...
Arulkumar's user avatar
  • 40.6k
24 votes
1 answer
495 views

I am trying to ask a question on Stack Overflow but the code snippet button is missing for some reason. Expecting this Currently Available How can I bring back the code snippet?
smpa01's user avatar
  • 343

15 30 50 per page
1
2 3 4 5
10