This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.
623 Answers
This is supposed to be a post to test a bug related to rolling back to suggested edits when "improve edit" is selected
And this is the proposed edit
[status-no-repro] on answers apparently
-
2This comment should break the grace period Commented May 2, 2018 at 15:59
OMG I can embed stuff in a post as a snippet?!
<iframe name="ngram_chart" src="https://books.google.com/ngrams/interactive_chart?content=VBA&year_start=1980&year_end=2018&corpus=15&smoothing=3&share=&direct_url=t1%3B%2CVBA%3B%2Cc0" width=900 height=500 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
I don't particularly mind if you flag this as spam, though some moderator might dislike that ... a lot.
Link at end of post:
This is a test post for Charcoal HQ.
-
-
@user298438 That's not what I wrote. A moderator will review your spam flag and probably dismiss it as unhelpful because this isn't actually spam. The text is mainly there as a test case for the SmokeDetecter bot in Charcoal, and I don't want users there to spend time on analyzing it needlessly.– tripleeeCommented Jun 9, 2018 at 19:17
-
I didn't flag it as spam. I just want to ask you for an attention. Commented Jun 9, 2018 at 22:39
-
2I am flagging this as spam because it obviously exists to advertise Charcoal HQ Commented Jun 11, 2018 at 14:11
-
@JohnMiliter That's not what this user wrote. A moderator will review your spam flag and probably dismiss it as unhelpful because this isn't actually spam. The text is mainly there as a test case for the SmokeDetecter bot in Charcoal, and this user don't want users there to spend time on analyzing it needlessly. Commented Jun 19, 2018 at 18:15
How can I make a link in a stack snippet open in new tab?
<a href="https://meta.stackexchange.com" target="_blank">
Link1
</a>
<a href="https://meta.stackexchange.com" target="_top">
Link1
</a>
<a onclick='window.open("https://meta.stackexchange.com","_blank")'>
Link1
</a>
<a onclick='window.open("https://meta.stackexchange.com","_top")'>
Link1
</a>
-
-
@ShadowWizard Too bad that it doesn't work. I was working on PPCG's leaderboard snippet, and this is annoying. Commented May 28, 2018 at 14:18
-
not really annoying, kind of security issue. The whole snippet system is in a sandbox, better not give it too much "power". Commented May 28, 2018 at 14:20
snippet:
<iframe name="ngram_chart" src="https://books.google.com/ngrams/interactive_chart?content=VBA&year_start=1980&year_end=2018&corpus=15&smoothing=3&share=&direct_url=t1%3B%2CVBA%3B%2Cc0" width=1000 height=600 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>
┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ## ┃ GNOME Terminal ┃ xterm ┃ non-GUI TTY ┃
┡━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ │ reset all │ reset all │ reset all │
│ 0 │ reset all │ reset all │ reset all │
-
-
bzzz ` wtttpza -- mips (the humans are suspicious)– user152261Commented Feb 23, 2019 at 18:03
I have heard that you get waffles over here?
-
Comments purged. Presumably everyone has gotten their hats. Feel free to spam this dude. :)– Journeyman Geek ModCommented Dec 19, 2018 at 1:07
If common mark is implemented then this will work:
bool working = true;
-
-
Well it's not quite there yet. Will look into the differences next week.– Nick Larsen ModCommented Jan 4, 2019 at 15:38
Testing the new ```
-style codeblocks:
this is a code block
In a blockquote
This is a codeblock in a blockquote
Language highlighting:
With a ```lang-c
at the top:
#include <stdio.h>
int main(int argc, char** argv)
{
int i = 6;
while(i --> 0) printf(i);
return 0;
}
With a <!-- language: lang-c -->
:
#include <stdio>
int main(int argc, char** argv)
{
int i = 6;
while(i --> 0) printf(i);
return 0;
}
Testing order of attributes in <a>
tags:
Examples:
href
first:
<a href="https://example.com" title="example with href first">`href` first</a>
title
first: <a title="example with href first" href="https://example.com">`title` first</a>
Gotta love the magic editor. Makes a lot of my editing a lot quicker.
But code markdown appears to break it :/ So this is just a reproduction post for the problem, in theory anyways.
public static void main(String[] args) {
System.out.println("This should default back to regular code formatting, and backticks more or less removed");
}
Unrelated, random update as requested by NH. for notification testing related to question starring. Just don't stare directly at the question, or you may feel like you're seeing ponies everywhere
-
weirdly status-no-repro in this environment xd Commented Feb 18, 2019 at 19:56
-
Would you please update your answer or answer again, @Asuna? I'm testing whether starring this question will notify me in any way.– NH.Commented Feb 21, 2019 at 16:43
-
@NH. Updated - pretty sure you just get a special update thingy on your profile under favorites (shows up as a "1" on the post IIRC) Commented Feb 21, 2019 at 16:47
-
foo FOO:
def f1(s):
return s
def f2():
f1('I LOVE FOO')
print(f2())
Aha, a joke, now a working one:
def f1(s):
return s
def f2():
return f1('I LOVE FOO')
print(f2())
How about:
def f1():
f2()
def f2():
f1()
print(f1())
-
1It appears that
None
of the functions are willing to print 'I LOVE FOO'. Commented Feb 22, 2019 at 3:57 -
1
-
1
-
1
-
1Now all you have to do is call
f2
fromf1
and start an infinite loop... I'm sureprint
would like that. Commented Feb 22, 2019 at 4:02 -
1Wow, snails really can read people's minds. I never knew... Commented Feb 22, 2019 at 4:03
-
@SupaMegaDuckyMomodaWaffle WOW, i did that even before i saw your comment! Commented Feb 22, 2019 at 4:03
-
@SupaMegaDuckyMomodaWaffle hahaha, my snail has a good brain :-) Commented Feb 22, 2019 at 4:04
-
Great job telepathically communicating, Snail! Now Python just needs to learn how, and the whole universe of everything will be so much easier... Commented Feb 22, 2019 at 4:05
-
@SupaMegaDuckyMomodaWaffle Yup, of course, wow, you have so many names. Commented Feb 22, 2019 at 4:06
-
I know... I put so much time and effort into coming up with my names... Commented Feb 22, 2019 at 4:07
-
@SupaMegaDuckyMomodaWaffle I like pizza static void main since that reminds me of pizza 🍕 Commented Feb 22, 2019 at 4:10
-
I prefer Supa Mega Ducky Momo da Waffle because it gives me an excuse to talk about waffles, ducks, and Supa Megas at the same time. Commented Feb 22, 2019 at 4:11
-
@SupaMegaDuckyMomodaWaffle Oh that's rigth, missed that one. Commented Feb 22, 2019 at 4:12
-
<marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE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EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee>
-
1
-
-
1And to answer your question, you are doing this because you aren't not doing this. Commented Feb 23, 2019 at 1:33
Lets investigate markdown
bold
italic
~~strike~~
code
idented code
Now html
bold
italic
inline css bold attributed text
underline
superscript
-
2
-
1
-
1@NickCraver - Very sorry. I created a post on it and was coming back to delete these. I chose one at random and didn't mean to spam you. I was hoping the wiki would prevent message pinging. Sorry!!– Travis JCommented Mar 10, 2015 at 23:07
-
3@TravisJ it's all good - just makes my phone go nuts :) Protip: pick one from a user that's been deleted next time, good test target!– Nick Craver ModCommented Mar 10, 2015 at 23:20
-
Test using pre/code...
public void Something() { return; }
Regular text here.
public void Something()
{
return;
}
-
This is bold.– user154393Commented Apr 14, 2011 at 3:07
-
This is boldnot.– user154393Commented Apr 14, 2011 at 3:07
-
This is bold maybe.– user154393Commented Apr 14, 2011 at 3:13
-
Following is
back ticked
right?– user154393Commented May 13, 2011 at 15:15 -
Following is code: <code>public void</code>, right?– user154393Commented May 13, 2011 at 15:17
script:
for i in $1 $2 $3
P
script with backticks and line breaks: P
for i in $1 $2 $3 P
P
short line P
long line long line long line long line
script with indent of 4 spaces: P
for i in $1 $2 $3 P
short line P
long line long line long line long line P
script with <pre>
P
for i in $1 $2 $3 P short line P long line long line long line long line P
script with <pre><code>
P
for i in $1 $2 $3 P
short line P
long line long line long line long line P
-
...but: new paragraphs need an empty line. See my edit. (Explicit line breaks, which do not start a new paragraph, are rarely needed, but are possible too. As I really dislike the abuse of line breaks, I won't explain the trick here, though the Markdown help makes no secret out of it...)– ArjanCommented Sep 19, 2010 at 2:11
Some apparent whitespace problems, 10 m/s (original post):
The period of a pendulum of length $h$ for small oscillations is $2\pi \sqrt{h/g}$, with $g$ the acceleration due to gravity, about $10 m/s$.
Source:
The period of a pendulum of length
$h$
for small oscillations is$2\pi \sqrt{h/g}$
, with$g$
the acceleration due to gravity, about$10 m/s$
.
Update: Meta Stack Overflow does not seem to have the formula stuff that Physics has.
Be aware that you can run into trouble if you try to use <
inside: <code>a<b</code>
gives a!
- You can't have a backslash
\
in the end of inline code in comments. If you try`\\`
, then the result will be `\`. You'll have to type `\\ ` and live with the white space being within the inline code.
-
`test number one`– user153011Commented Feb 10, 2011 at 17:37
-
`test number two\`– user153011Commented Feb 10, 2011 at 17:39
-
test number three\\
– user153011Commented Feb 10, 2011 at 17:43 -
test number four\
– user153011Commented Feb 10, 2011 at 17:58 -
Hey @Hendrik I've deleted my comments at meta.stackexchange.com/questions/59445/… :) Commented Apr 27, 2011 at 12:39
Will sanitizer incorrectly strip the p tag at the end? Header 1 Header 1 Header 2
line break test
italic
bold
Have you seen ?
code span<a
more test
test <a
test test test
funny
How about in lists?
- li1 unclosed
- li2 unclosed
p
- li1 unclosed
- li2 unclosed
bla:
- bla
- bla
Just testing this new feature:
-
You did hear about Recent feature changes to Stack Exchange, right? "New" since 2010-11-05 ;-) (Okay, that was only added there on December 7th.)– ArjanCommented Feb 7, 2011 at 12:39
Testing a possible edit bug...
Here's the first edit...
And here's the second -- perhaps as a new post.
Okay so far, will try one more time...
Final test
Testing out this new Userscript I'm building. One more edit to make sure this thing works.
-
-
-
-
-
-
3Unix time, or POSIX time, is a system for describing points in time, defined as the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds. It is used widely, not only in Unix-like operating systems, but also in many other computing systems and file formats. It is neither a linear representation of time nor a true representation of UTC (though it is frequently mistaken for both), as it cannot represent standard UTC leap seconds (e.g. December 31, 1998 23:59:60), although otherwise the times it represents are UTC.– Yi JiangCommented Oct 31, 2010 at 8:30
Comments test. Checking various comment related stuffs
testing revision diffs blah blah
- new line
new line2
this foobar quote
- boo boo boo