# 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 set some language tags to this question:

• Adding clashing tags, such as both and , enforces a fallback to default, which is different from "no highlighting". (These tags are currently set on this question.)

3. 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();

-

I heard you like links to Stack Exchange, so... http://stackexchange.com

-

diddly-do...

test /* */ abc

-

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

-

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! :)

-

-
# deb cdrom:[Ubuntu-GNOME 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main multiverse restricted universe

# newer versions of the distribution.
deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

## This software is Spotify Desktop client
## This is a preview build of Spotify for Linux. As a preview release this version is still unsupported.
deb http://repository.spotify.com stable non-free

# Latest Virtualbox

-

# newer versions of the distribution.

deb http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty main restricted

## review or updates from the Ubuntu security team.

deb http://gb.archive.ubuntu.com/ubuntu/ trusty universe deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty universe deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates universe

## security team.

deb http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty multiverse deb http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## or updates from the Ubuntu security team.

deb http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://security.ubuntu.com/ubuntu trusty-security universe deb-src http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## respective vendors as a service to Ubuntu users.

deb http://archive.canonical.com/ubuntu trusty partner deb-src http://archive.canonical.com/ubuntu trusty partner

## developers who want to ship their latest software.

deb http://extras.ubuntu.com/ubuntu trusty main deb-src http://extras.ubuntu.com/ubuntu trusty main

## This is a preview build of Spotify for Linux. As a preview release this version is still unsupported.

deb http://repository.spotify.com stable non-free

# Latest Virtualbox

-

testing an inconsistency between the preview and the final appearance
-->

hello
-->

-

Auto-link with /_: http://example.com/_abc.

Manual link with /_: test link

Same with https:

Auto-link with /_: https://example.com/_abc.

Manual link with /_: test link

-

## Towers of Hanoi

Reset

-
How on earth did you do that? –  tbodt Oct 10 '13 at 2:17
@tbodt: It's done with a link to an off-site php script. Click the edit button to see the answer's source. –  martineau Feb 14 '14 at 19:18
–  Martijn Pieters Sep 7 '14 at 8:01

Works using Markdown...

...and plain HTML

^---- Animated SVG!

Chrome's throbbers:

Formatting you possibly didn't know about:

[tag:status-declined] =
[tag:status-completed] =

Maybe hats? HATS!

-
Dude, this is freaking epic –  Mehrdad Jul 24 '11 at 17:28
Now how to find a way to fit that soccer ball into an example while helping someone with a coding problem... –  Paulpro Sep 1 '11 at 23:09
Broken in Firefox 3.6. –  Mechanical snail Oct 10 '11 at 21:33
@PaulPRO: Maybe on the math site? –  Mechanical snail Oct 10 '11 at 21:33
@ascii-lime I'm having a hard time rotating my model of a truncated icosahedron. If only someone could provide a visual, I think I could work the code out from my existing model. Just kidding. :) –  Edwin Buck Feb 6 '13 at 21:27
I'm shutting down Stack Exchange because this user told me ‮doowtA ffeJ‭ –  Doorknob Apr 30 '13 at 0:48

Warning: you must have your cookies allowed; coz the message you enter currently is stored in the cookies. Click "Post message" to send it to the server!

-
cool then @nic, well done! Next game: let users change your avatar by voting. (i.e. put three to choose from, clicking enough times by enough users on one of them will cause auto change) –  Shadow Wizard Jun 17 at 21:27
@bjb Hey, look! A real chat now :) –  nicael Jun 20 at 16:32

o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o

-

inline backticks a b c for the world of markdown d f hoho

-

Mostly for comment testing and such. Feel free to test your comments here as well.

-

This is one code block with a backslash: \ and this is another one \ and this is a code block with other characters abc.

This is another code block with a backslash \ and then one with an escaped backtick abc \ abc

-

Lets try printing a single backslash in a code block.

\

-

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 at 17:49

↑ having trouble getting rid of the sliver between the images (wrapping them in a <h1></h1> helps.)

-
‮Please do not speak of being messed up until you read this! –  uɐɯsO uɐɥʇɐN Jan 11 '11 at 22:40
@Nyu: O the wonders of Unicode! –  uɐɯsO uɐɥʇɐN Jan 30 '11 at 20:10
No seriously - how do you flip even the time block? –  RichardTheKiwi Mar 3 '11 at 1:46
‮...yletanutrofnu ,gnitaehc yb ylno tub ,ti tog I –  minitech May 25 '11 at 2:21
I can turn the world inside out! I'll start with the comment stamp...‮ –  Daniel Sep 29 '11 at 17:17
‮At last! At long last! The secret is mine! –  John Oct 11 '11 at 1:15
Ha! I am over here :-P ‮this is a test –  amanaP lanaC A nalP A naM A Dec 7 '11 at 16:48
I Roamed Under It As A Tired Nude Maori ‮‮ i roaMed uNder iT As A tIred nUde maoRI –  Manishearth Mar 27 '12 at 12:42
Yay, I figured it out!! Copy the character inside the codeblock to get it it's a mirroring character. Note that the codeblock may have placed itself after my username. "‮‮ " –  Manishearth Mar 27 '12 at 12:43
Hello, I am Jon Skeet. ‮‮ teekS noJ - –  Manishearth Mar 30 '12 at 11:18
This is a comment‮dilav sa deggalf neeb sah tnemmoc sihT ‭ –  Johannes Kuhn May 14 '13 at 12:09

### This is a test of named anchor linking

-

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

-

For testing stack snippet related to this question



$(function() {$('.multiselect').multiselect();
});

<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="http://davidstutz.github.io/bootstrap-multiselect/dist/js/bootstrap-multiselect.js"></script>

<select class="multiselect" multiple="multiple">
<option value="cheese">    Cheese     </option>
<option value="tomatoes">  Tomatoes   </option>
<option value="mozarella"> Mozzarella </option>
<option value="mushrooms"> Mushrooms  </option>
<option value="pepperoni"> Pepperoni  </option>
<option value="onions">    Onions     </option>
</select>


-
Snippets got their own sandbox - no harm, just more quiet in there. –  Shadow Wizard Apr 24 at 22:00

This is an example answer that has been edited via the Stack Exchange API (and Python). It was originally posted via Python. . test url

-

^**

# Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec iaculis sed nisl eget viverra. In hac habitasse platea dictumst. Donec quis nibh neque. Mauris venenatis turpis sed ligula venenatis, in rhoncus elit congue. Cras vitae orci gravida, accumsan augue nec, convallis turpis. Nullam accumsan tincidunt metus sed laoreet. Praesent pulvinar, est at eleifend gravida, diam tortor tempus orci, tempus fermentum quam risus nec felis.

^ Suspendisse quis nisi a nisi venenatis pulvinar. In ac diam enim. Suspendisse in lectus posuere augue porttitor iaculis vitae at lectus. Donec consectetur elit diam, sed commodo purus feugiat sed. Sed vitae lacinia magna. Cras eros neque, iaculis ut faucibus a, congue ut velit. Nam semper tempor neque at rutrum. Nullam mollis ex et bibendum laoreet. Mauris posuere sed enim id placerat. Vivamus eu est elit. Nulla nisl metus, efficitur ut placerat sit amet, varius sit amet dui.

-

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

-

# test

^ test line 2

^ test line 2

|                            |       |

strike

DECLARE @origUserName varchar(max)


This is a unity3d test... C


alternative to code layout
if
we can work this
out



 alternative to code layout if we can work this out 

alternative to code layout
if
we can work this
out


-

‮this is kind of reversed text. It is pretty simple of course. You already can click edit

Reversing works

hash works

<a href="javascript:\$('.vote-up-off').click()">click me</a>

-

This is an answer, for testing grace period. Test grace edit period. Another edit

-

This is subbed-sup text
This is sup text

This is text

This is text

-

Can I post this question with

http://serverfault.com/questions/49147483697

and