# Formatting Sandbox

You can use this question as a formatting sandbox. You can

• edit this question itself (Community Wiki questions such as this one require 100 reputation to edit)
• post answers to this question (Since this question is protected, this requires earning 10 reputation on this site)
• test suspected bugs with the editor

Beware that since the changes to syntax highlighting in December 2010, and the inline hints added March 2011, no syntax highlighting is applied unless the question's tags or an inline hint enable it. So, to test highlighting here in the sandbox:

1. On the start of a line, specify a language inline using <!-- language: lang --> hints, and indent the code 4 spaces as usual. There is a full list of hints (scroll down a little).

<!-- language: lang-html -->

While not hinted otherwise: <html></html> source <b>goes</b> "here".

<!-- language: lang-js -->

var a = 3;
while (not (a > 0)) {
}

2. Or:

• Use something like Firebug (Firefox), Web Inspector (Safari, Chrome) or Developer Tools (Internet Explorer 8) to edit the resulting HTML. To open Chrome Dev Tools, press F12

• Find the <pre> element and add the attribute class="prettyprint", or change it into something more specific, like class="lang-vb prettyprint".

• Run the following in the location bar: javascript:prettyPrint();

-
Please provide an MCVE. – Kevin Jul 24 '15 at 13:41
Questions about underwater basket weaving are off-topic for this site. – Kevin Jul 24 '15 at 14:42
Ẅ͚͚̞̼̟̭͕̺̟̰̍̎͊̉̀͋̅ͪ͢T̢͚̘̞̦̱͙͍̳̱͐ͧ̅̚͠F̡͔͖̘̮̳͇̾̂ͭ̀̂ͯ͑ͩ̑̔ͥ̓̐̾ͬͭ͝Ẅ̸̋̒̔͛͋̓̓͛̚҉҉̩̤͚̲̞̥‌​̯̥Ţ̢̓ͬͥ́ͫ͒ͭͬ҉̴̢͓̠̱͔̪̣̻͓͎́F̨̰̹̮̫̮̬͙̖͙̥̜͍̤̼̭̖͈̉͆̂͌͆ͫ̅̈̅͑͘Ẅ̮͕̣̙̙͚̫̱̜̝̺̦̜̲͕̖̪̈̾͋̄́̄ͯ̒‌​̾̊̅͒ͮ̑́́͟Ţ̵̳͈̱̫̗͛ͩ̈ͮ͑͜ͅḞ̤͔͙͎̣̰̦̱̟̝͊̒͐ͮ̓͑̔̿͐̋́Ẅ̶̴̢͔̩͖̖̱̰̩͍͍ͦ͊̓̑̀͋̑̕T͓̤̪̟̘̦͚̣̓̅͛ͦ͐ͮ‌​̔̋̄̈͊̆̄̓͘F̵̡̨̞͕͉̬ͫ̃ͫ͐͊ͦͪͫͧ̔͌̎̌͜Ẅ̨̬̦̪̙̝͕̦̦̺͖̲̱̞͚͕͓͖̌ͭ͋ͭ̅ͨ̀̂ͦ̌͑͐̑̎̅Ţ̩̟̘͇̳̤͔̪͎͉͎̼ͥͩͪ‌​͆̽ͩ̿ͧͧ͘͜͠͞F̴̸̶̹̲̤͇̹̥̝̪̏̆ͥ̽̉̂͂̐́̌͂̾Ẅ̵̛ͤͫ̓͢҉̶̮̭̤̩̤͖̲̦T̵̻̩̲̳̼̟̠̰̳̺̖̳ͭ͆̄̐͌́͌́ͫ́̾̍̄ͪ̍̋‌​̏͌̚͢͜͜͝F̢̢̘̥̹̻̬͈̙͚̱͈̰͇̰̱ͨ̌͂͛ͪ̈̋͐́̓͌̚ – nicael Nov 16 '15 at 23:50

lollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollol

-

Testing Capital letters in link addresses. Motivation: Links beginning with a capital letter are hidden when post is submitted.

Testing normal:

http://stackoverflow.com


http://stackoverflow.com

Testing Http

Http://stackoverflow.com


Testing Https

Https://stackoverflow.com


Testing Ftp

Ftp://example.com


Testing a nonexistent protocol

DoesNotExist://example.com


DoesNotExist://example.com

Testing ALL CAPS:

HTTP://example.com


Testing rEVERSE cAPITALIZATION:

hTTP://www.example.com


Testing capital only in Domain:

http://Www.example.com


http://Www.example.com

Http://stackoverflow.com

-

updated this is an all small case answer without punctuation

-
The low quality posts queue detected it just fine! :-P – Martijn Pieters Oct 18 '14 at 16:14
-

http://serverfault.com/questions/2147483647

This ID onwards, you cannot submit this answer.

-
This is a test of the answers being sent from Stack-Mode

I want to ensure that the markdown is properly formatted and accepted.

(defun test-answer-message (me)
(message "%s created an answer" me))


Code block above

• Bullet point
• Another point

1. And an ordered point
2. Ordering

Stack-Mode can be found here. This should provide the desired output.

-

NEw cApatcha testing...........

-

‮testing

‮testing

‮testing

&#8238;testing

‮testing

‮testing

[tag:‮testing]

-

But doesn't repo here

Code, inside a link, inside a superscript block

### With Markdown

Note - Superscripted link with code.

### Without Markdown

Note - Superscripted link with code.

-

# Blocking & spoiling some text....

Hello!

Test:

Why is there a grey box even when the text in this spoiler is "Hidden"??
Test: THIS_TEXT_IS_SURROUNDED_WITH_BACTICKS,BUT IT DOESN"T WORK :(

TEST

But this does:THIS_TEXT_IS_SURROUNDED_WITH_BACTICKS,BUT IT DOES<s>N'T</s> WORK :)

But then, the strike doesn't work!!

Nor does the smiley in the above>! spoiler

Nor does the spoiler in the above quote

Nor does the ..........................................

test

Hiding in spoiler....or is it? BOO!



blah blah

Why is the above blockquote sooooo

# small

?

Note book:

Button oooooovvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvveeeeeeeeeeeeeeeeeeeeeerrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffllllllllllllllllllllllllllllllllllloooooooooooooooooooooooooooooooowwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww!

-

Does TeX work?

$$\frac{1}{6}+\frac{5}{6.12}+\frac{5.8}{6.12.18}+\frac{5.8.11}{6.12.18.24}+\cdots$$

-

Someone said code was broken, but I don't believe him.

So this is a test.


Test complete. Status: SUCCESS

-
Oh, he specifically said comments. So let's try that. – MBraedley Jun 18 '15 at 17:49

Esc F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12PrtScrScrLkBreak
   1   2   3   4   5   6   7   8   9   0   -    ←      Ins  HomePgUp
⇥   Q   W   E   R   T   Y   U  I  O  P  [  ]   \    Del    End PgDn
Caps  A  S  D   F   G   H  J   K  L  ;  '    Enter
Shift      Z   X   C   V   B   N   M   ,   .   /     Shift
Ctrl Fn  Alt                                                        Alt         Ctrl

-



Hello

Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World
Hello World



-

This is a test for editing via the API.

(freehand added by Freehand Circles Drawing Tool (Freehand Circles Drawing Tool) - install to add freehand drawings to any image on any SE site with ease! :)

-

Is this to encourage users to delete posts here, so as not to be so pestered by edit notifications?

No.

-
@nicael Is this to encourage users to delete posts here, so as not to be so pestered by edit notifications? – Paul Nov 15 '15 at 22:16

Test links foo foo foo foo

Testing lists.

1. This is a list followed by indented text

This is the indented text

2. This is a list followed by []() and indented text

This is the indented text

1. This is a list followed by <!-- --> and indented text
This is the indented text

1. This is a list followed by &#x200B; and indented text

This is the indented text

1. This is a list followed by &#x200C; and indented text

This is the indented text

1. This is a list followed by &#x200D; and indented text

This is the indented text

1. This is a list followed by a pasted 200B and indented text

This is the indented text

-

$(function() { alert($('body').length);
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>

-

ََََََََََََََََََََََََََََََ

-
Testing an almost empty body (meta.stackexchange.com/questions/271986/…) – Heidel Ber Gensis Dec 28 '15 at 9:39
It does get picked up with the LQP review queue. – Patrick Hofman Dec 28 '15 at 9:59
Indeed. You are correct on that. Just wanted to mention it. – Patrick Hofman Dec 28 '15 at 10:01

kbd recursion

quote recursion

-

This is an answer which shows that using 2 spaces doesn't format as code:

This is a line with two spaces before it.

This is a line with four spaces before it.

-
-
Is there any purpose to the #! after post ID? :) – Shadow Wizard Dec 22 '13 at 17:52
Stop that, please. – Nick Craver Mar 10 '15 at 23:05
@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

Test using pre/code...

public void Something()
{
return;
}


Regular text here.


public void Something()
{
return;
}

-

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

-

1. The parenthesis comes off: http://en.wikipedia.org/wiki/Closure_(computer_programming)

2. Try escaping the parenthesis with a backslash: http://en.wikipedia.org/wiki/Closure_(computer_programming)

Looks good in the preview, but watch out!

“the C *P*re*P*rocessor” comes out differently as well.

-
test 1 at 12:14 local time – Pops Jul 27 '10 at 16:14
@Arjan Yeah, I know. I just get annoyed when the server- and client-side rendering disagree. – Josh Lee Jan 31 '11 at 19:59

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

-

## protected by Oded♦Nov 17 '14 at 15:36

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.