What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 122 Stack Exchange communities.

As per Jeff's suggestion in this comment:

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 10 reputation)
  • post comments to this question or its answers

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. Set some language tags to this question:

    • See the explanation and the list of languages.

    • 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.)

  2. Or: 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)) {
            alert("JavaScript code <b>goes</b> here.");
        }
    
  3. Or:

    • Save your post.

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

share|improve this question
7  
1 ` 1` characters –  agf Oct 2 '11 at 0:43
13  
Please convert me to a comment! –  Michael Mrozek Nov 23 '11 at 19:56
5  
@Michael Mrozek: ok –  BoltClock's a Unicorn Nov 23 '11 at 19:57
20  
This so should be a part of every browser's stress test. –  C. Ross Jan 12 '12 at 4:26
6  
To faq or not to faq? this is the question –  animuson Feb 3 '12 at 4:49
22  
@George: Ping test 14. –  FlackBot Mar 4 '12 at 5:49
16  
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''‌​'''''''''''''''''''''''''''''''''' –  NullUserException อ_อ Apr 6 '12 at 17:09
5  
5  
This is intentionally a [trivial answer][1]. [1]: meta.stackexchange.com/q/98950/188688 –  MvG Jul 22 '12 at 23:09
11  
۝҈ ๛๛๛ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈ ҈۝ –  mellamokb Feb 1 '13 at 14:42
19  
http://ʬʬʬ.google.com –  mellamokb Feb 1 '13 at 14:48
17  
I am going to shut down Stack Exchange because this user told me ‮doowtA ffeJ‭ –  Doorknob Apr 30 '13 at 0:42
20  
H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́‌​͘ ̶̧̨̱̹̭̯ͧ̾ͬH̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴ ̶̧̨̱̹̭̯ͧ̾ͬ –  Bernhard Poiss Jun 3 '13 at 21:31
7  
Another fix for the example 5 problem is to write the loop in the following baroque form: for (var i = 0; i < list.length; i++) (function(i) {            ...                                          })⁠(i);                                                This gives each run of the loop body an independent variable i. If the loop body needs write access to the loop variable, you can instead enclose the inner function: (function(i)⁠{return(                                         ...original function(..)⁠{..} goes here...       )})⁠(i)                                                –  Matt Aug 3 '13 at 11:34
8  
​​​​​​​​​​ ​ ​ –  Mysticial Feb 24 at 21:28
show 215 more comments

275 Answers

{{Unreferenced}}

I am so smart! I am so smart! S-M-R-T!

share|improve this answer
show 1 more comment
if (isset($item['load_functions'][1]) && !empty($item['map'][2]) && $item['load_functions'][3] == 'node_load') {
  $node = $router_item['map'][4];
}
else {
  // The menu item is not for a node.
}

menu_get_object()

menu_get_item()

share|improve this answer
add comment

test. to see, if the spaces: removed! are? visible/ without the' show mark- down differences'

2nd test to see if I can edit a deleted ans

share|improve this answer
add comment

This is an answer to test somethin' 'bout deletions.

share|improve this answer
show 2 more comments

uhm..why _italic_does_not_work_when_I_use_the_underscore_ ?

How about

  1. foo[*bar* + 1]
  2. foo[bar + 1]
  3. *foo[bar + 1]
share|improve this answer
1  
There is a reason for this, fwiw. meta.stackexchange.com/questions/116986/… –  jcolebrand Jan 10 '12 at 16:01
show 4 more comments

Testing the tag feature... I don't think I have it right...

Sweet, that was too simple ... (

spoiler text in a blockquote?

share|improve this answer
add comment

Partially bold **Part**<!-- fix -->ially bold

partially italic *part*<!-- fix -->ially italic

Partially bold/italic ***Part***<!-- fix -->ially bold/italic

OLD:

*Part*ially bold

*part*ially italic

*Part*ially bold/italic

**Part**ially bold

*part*ially italic

****Part****ially bold/italic
share|improve this answer
add comment

Test test test test

More test

foo test

b ar f efe fe ge ge g

ge

akeoka feafkae kfoa ejfoeaj

share|improve this answer
3  
aw, don't beat yourself up about it. –  Jeff Atwood Aug 30 '11 at 9:35
show 1 more comment

Is <something> no in longer hidden (where something is not an allowed HTML tag)?

Conclusion: there is no change, but <> seems to be a special case. Encoding < as &lt; is still required (if not formatted as by code).

share|improve this answer
show 1 more comment

Testing image upload from clipboard

enter image description here

share|improve this answer
show 1 more comment

blah blah blah blah howdy doodie doo

share|improve this answer
show 6 more comments
if (isset($item['load_functions'][1]) && !empty($item['map'][2]) && $item['load_functions'][3] == 'node_load') {
  $node = $router_item['map'][4];
}
else {
  // The menu item is not for a node.
}

menu_get_object()

menu_get_item()

share|improve this answer
add comment

Testing 2.2 - o83fpubgs487gs4e8o7ghs4o78gfbysf76esfb9of3si76ffs39hgs4678gf3s9h3s8gof3.

share|improve this answer
add comment

Wheeeeeeeeeee!

  1. This is number one
     2. This is a sub ordered list
     3. You can hack code together here, too
      4. Blah blah blah
      5. Blah blah, blah blah blah.

I'm amazed if the quality checker lets this go through.

share|improve this answer
show 1 more comment

Please see the changelog - this is to demonstrate an issue with the toolbar buttons and existing square brackets.

Testing arrays in arrays:

b[0][1] b[1][2] b[1][3] b[0][4]

(b[0][5] b[1][6]) (b[0][7] b[0][8])

enter image description here

a_b_c

a_b_c

a_b_c

a_b_c

share|improve this answer
show 4 more comments

Testing a possible edit bug.

Here is some more text. Made an edit.

share|improve this answer
add comment

Code formatting:

some kind of shell commandwith a `sub-shell command` | blah blah

share|improve this answer
add comment

Testing code block in Android Chrome mobile:

A code block haiku
That seems to work quite nicely
Could not reproduce
share|improve this answer
show 1 more comment

Testing the syntax highlighter

So {this:is css; /*comment*/}

Testing the syntax highlighter

So {this:is none; /*comment*/}

Testing the syntax highlighter

So {this:is none; /*comment*/}

Testing the syntax highlighter

So {this:is text; /*comment*/}

Testing the syntax highlighter

So {this:is c; /*comment*/}

Testing the syntax highlighter

So {this:is html; /*comment*/}
share|improve this answer
add comment

attempting to fail quality filter on the formatting sandbox. http://goo.gl/82FLe

enter link description here

share|improve this answer
add comment

Testing nested quote levels and blank space:

The grey box of epicness!

Does it work with <pre>'s?

Apparently so!

Yay crappy formatting.

share|improve this answer
add comment

beep beep i'm a jeep

beep beep i'm a jeep

beep beep i'm a jeep beep beep i'm a jeep beep beep i'm a jeep beep beep i'm a jeep beep beep i'm a jeep
share|improve this answer
1  
You just had to test the HTML didn't you? :P –  Second Rikudo Sep 27 '13 at 13:01
show 1 more comment
  • Test [su]

Lorem ipsum blah blah blah

share|improve this answer
show 1 more comment

You must log in to answer this question.

protected by Community Jun 29 '12 at 10:57

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .