# Sandbox archive

This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.

## locked by Shog9♦May 16 '17 at 19:56

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. See the help center for guidance on writing a good question.

. .

• Testing what is, and what is not allowed as an answer. – hat Feb 17 '18 at 17:24

right aligned text

Don't view the revision history of this answer!

testing 123456 and a bunch more characters to reach 30

http://ilorentz.org/beenakker/MO/BesselK.png

Mumble mumble

let t_BE="<\esc>[?2004h"


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

• This comment should break the grace period – Zoe May 2 '18 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.

This is a test post for Charcoal HQ.

• why you don't want others flag this as spam? – user298438 Jun 9 '18 at 18:21
• @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. – tripleee Jun 9 '18 at 19:17
• I didn't flag it as spam. I just want to ask you for an attention. – user298438 Jun 9 '18 at 22:39
• I am flagging this as spam because it obviously exists to advertise Charcoal HQ – John Militer Jun 11 '18 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. – user298438 Jun 19 '18 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">
</a>

<a href="https://meta.stackexchange.com" target="_top">
</a>

<a onclick='window.open("https://meta.stackexchange.com","_blank")'>
</a>

<a onclick='window.open("https://meta.stackexchange.com","_top")'>
</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=1000 height=600 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no></iframe>

• <snippet type="text/stacksnippet"> – Donald Duck Jul 28 '18 at 1:46
┏━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ ## ┃ GNOME Terminal        ┃ xterm                 ┃ non-GUI TTY                       ┃
┡━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│    │ reset all             │ reset all             │ reset all                         │
│  0 │ reset all             │ reset all             │ reset all                         │


Image size limit test:

• aaa  fffpopopopopopopopo – Alex K Feb 22 at 16:45
• bzzz  wtttpza -- mips (the humans are suspicious) – barrycarter Feb 23 at 18:03

<a href="http://amazon.com/dp/1234567890">Some random item on amazon</a>

http://amazon.com/dp/1234567890

• Why? I don't understand. – Eb946207 Jan 2 at 17:23

I'm just here to see if rollbacks trigger the waffle hat

It doesn't

Community or URL rewriter?

Just noticed a URL rewrite show up under URL rewriter in the edit logs. Just want to see if it still is that, or if it's Community (because I could've sworn I've seen Community on there, so I want to test it).

This should be re-written to HTTPS (eventually at least).

http://stackoverflow.com

... or it just ignores edits, or isn't run any more. Unless it does edits at mignight or runs slightly like roomba. or it ignores URLs, but the main post suggests it at moves http images to https.

Community (should in theory) change this to https:

At least according to the "what is the Community bot" post

If common mark is implemented then this will work:

bool working = true;

• You rock! Now how many older posts are broken ;) – rene Jan 4 at 15:36
• Well it's not quite there yet. Will look into the differences next week. – Nick Larsen Jan 4 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 – Zoe Feb 18 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. Feb 21 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) – Zoe Feb 21 at 16:47
• Confirmed... now I need to document that somewhere... – NH. Feb 21 at 17:00

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())


def f1():
f2()

def f2():
f1()

print(f1())

• It appears that None of the functions are willing to print 'I LOVE FOO'. – Pika the Wizard of the Whales Feb 22 at 3:57
• @SupaMegaDuckyMomodaWaffle Lol, made one working. – U10-Forward Feb 22 at 3:59
• Yay! Now the print function loves foo! – Pika the Wizard of the Whales Feb 22 at 4:00
• @SupaMegaDuckyMomodaWaffle Yup, :-), lol, funny code. – U10-Forward Feb 22 at 4:01
• Now all you have to do is call f2 from f1 and start an infinite loop... I'm sure print would like that. – Pika the Wizard of the Whales Feb 22 at 4:02
• Wow, snails really can read people's minds. I never knew... – Pika the Wizard of the Whales Feb 22 at 4:03
• @SupaMegaDuckyMomodaWaffle WOW, i did that even before i saw your comment! – U10-Forward Feb 22 at 4:03
• @SupaMegaDuckyMomodaWaffle hahaha, my snail has a good brain :-) – U10-Forward Feb 22 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... – Pika the Wizard of the Whales Feb 22 at 4:05
• @SupaMegaDuckyMomodaWaffle Yup, of course, wow, you have so many names. – U10-Forward Feb 22 at 4:06
• I know... I put so much time and effort into coming up with my names... – Pika the Wizard of the Whales Feb 22 at 4:07
• @SupaMegaDuckyMomodaWaffle I like pizza static void main since that reminds me of pizza 🍕 – U10-Forward Feb 22 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. – Pika the Wizard of the Whales Feb 22 at 4:11
• @SupaMegaDuckyMomodaWaffle Oh that's rigth, missed that one. – U10-Forward Feb 22 at 4:12
• That's so waffles. – Pika the Wizard of the Whales Feb 22 at 4:14

## Hover over the blockquote

<h2>Hi</h2>

<marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee><marquee>REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE</marquee>

• Is there any purpose to the #! after post ID? :) – Shadow The Princess Wizard Dec 22 '13 at 17:52
• Stop that, please. – Nick Craver Mar 10 '15 at 23:05
• @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 J Mar 10 '15 at 23:07
• @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 Mar 10 '15 at 23:20
• Here's a test <script>alert('test');</script> – Geoff Dalgas May 18 '15 at 17:56

Test using pre/code...

public void Something()
{
return;
}


Regular text here.


public void Something()
{
return;
}

• This is bold. – user154393 Apr 14 '11 at 3:07
• This is boldnot. – user154393 Apr 14 '11 at 3:07
• This is bold maybe. – user154393 Apr 14 '11 at 3:13
• Following is back ticked right? – user154393 May 13 '11 at 15:15
• Following is code: <code>public void</code>, right? – user154393 May 13 '11 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 short line P long line long line long line long line P

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...) – Arjan Sep 19 '10 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!

 
 
1. 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.

line break test

italic

bold

Have you seen ?

code span<a

more test
test <a


test test test

funny

1. li1 unclosed
2. li2 unclosed

p

• li1 unclosed
• li2 unclosed

bla:

• bla
• bla

• test test test <a – çağdaş Jan 17 '11 at 23:11

Just testing this new feature:

Replace trilogy raw links with the current question title?

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