What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 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) - minor edit updated
  • post answers to this question (Since this question is protected this requires earning 10 reputation on this site)
  • 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
3  
What have you tried?‮What have you tried? –  nicael Jul 4 at 16:18
1  
@nicael You're at it again... –  DatEpicCoderGuyWhoPrograms Jul 14 at 0:01
1  
‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮flaoting comment! ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ –  nicael Sep 26 at 13:31
1  
This is a test comment sent from in emacs with Stack-Mode –  Jonathan Leech-Pepin Nov 17 at 14:55

315 Answers 315

(TESTING LONGER ALL-CAPS ANSWER THAT MIGHT NOT TRIP BOT QUALITY FILTER)

FIRST, LOOK AT THE WHOLE PROGRAM

10 N=2000
20 PRINT "ARMSTRONG NUMBERS"
25 PRINT "BETWEEN 1 AND 2000"
30 PRINT
40 FOR 1=1 TO N
50 S=O
60 K=I
70 Q=INT(K/10)
80 R=K-10*Q
90 S=S+R*R*R
100 K=Q
110 IF K<>O THEN 70
120 IF I<>S THEN 130
125 PRINT I
130 NEXT I
140 END 

FIRST, WE INITIALIZE THE VARIABLE "N" TO 2000, THEN WE PRINT SOME INTRODUCTION TO THE USER. NEXT, THERE IS FOR-LOOP FROM 1 to N (2000). THE LOOP IS DOING IT'S JOB WELL DONE, UNTIL IT REACHES LINE 110. SOMETIMES IT LOOPS, SOMETIMES IT DOESN'T, BUT ANYWAY IT MAY LOOP FROM 70 TO 110. THIS IS ACTUALLY A WHILE-LOOP THAT WILL STOP AFTER "K" IS EQUAL TO "O" (DON'T ASK ME WHY). NEXT, IF "I" IS EQUAL TO "S", THEN IT'S AN ARMSTRONG NUMBER, SO IT WILL BE PRINTED ON THE MONITOR. OTHERWISE, IT WILL BE SKIPPED AND CHECK THE NEXT NUMBER.

share|improve this answer

‮NIA‭P‮P ‭RE‮RO‭PARE‮F ‭

share|improve this answer
46  
+1 for flashing red eyes –  The Unhandled Exception Jan 25 '11 at 21:19
2  
Test Test Test Test –  Michael Mrozek Feb 4 '11 at 8:37
1  
Who messed with the flashy red eyes?!?!?! –  John Apr 8 '11 at 16:24
3  
@John Apparently the freehand circle script flattens GIFs. I feel violated –  Michael Mrozek Apr 8 '11 at 16:47
1  
@Michael: Yes. This is wrong. What happened to rollback link? –  John Apr 8 '11 at 16:50

updated this is an all small case answer without punctuation

share|improve this answer
1  
The low quality posts queue detected it just fine! :-P –  Martijn Pieters Oct 18 at 16:14
4  

Let's see how high this can get.

้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้

share|improve this answer

This answer is write-protected

(think so? no.)

click me to edit!

To see comments click here and press Enter

To un-protect the answer (temporarily, only for you) in Chrome, right click the whitespace below, choose "Inspect Element," find the first <sub>, click it, and press Delete

***** this is a footnote that prevents editing or sharing or flagging this question

share|improve this answer
1  
You forgot to "protect" the downvote button ;-) –  Arjan Dec 26 '13 at 22:08

Test: Unicode characters:

Unicorn: 🦄

share|improve this answer

FATAL ERROR: <kbd> overflow

share|improve this answer
25  
As all my other attempts to get <kbd> banned failed: maybe this will finally make it happen ;-) –  Arjan Dec 4 '11 at 15:54
11  
There's no reason to ban it... just simply flag answers which abuse it. (This not being one, as it's on the formatting sandbox) :) –  Alex Coplan Dec 4 '11 at 16:01
3  
Any non-castle use of <kbd> is abuse of my poor eyes! ;-) –  Arjan Dec 4 '11 at 16:20
3  
It is too tall! –  U2744 SNOWFLAKE Aug 21 '12 at 1:33

Starting to rebuild the castle for modern times. Looks decent on FF so far.

full block: |        |
<kbd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</kbd>

half block: | |
<kbd>&nbsp;</kbd>

extra block: |               |
<kbd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</kbd>

full space: |          |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

half space: |     |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

extra space: |               |
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

|        |
|          |
| |
|     |

|         |
|               |
|               |


open door 1

                                                                                                              


open door 2

                                                                                                  


door top 1

                                                                                                      


door top 2

                                                                                                           


full wall 1

                                                                                                        


full wall 2

                                                                                                  


wall top

                                                                                                                               


top window 1

                                                                          


top window 2

                                                                          


full top wall 1

                                                                         


full top wall 2

                                                                         


top wall top

                                                                                             


fin

                                                                                                               
                                                                                           
                                                                                           
                                                                                            
                                                                                            
                                                                                            
                                                                                                                               
                                                                                                  
                                                                                                        
                                                                                                  
                                                                                                          
                                                                                                      
                                                                                                              
                                                                                                  
                                                                                                              
                                                                                                  
                                                                                                              

share|improve this answer
1  
<kbd>&nbsp;</kbd> How can I get it? :D –  Gediminas Jeremiah Gudelis Jun 21 '13 at 20:50

Roll the ball! Works using Markdown...

...and plain HTML

^---- Animated SVG!


Chrome's throbbers:


Formatting you possibly didn't know about:

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


Maybe hats? HATS!

share|improve this answer
27  
Dude, this is freaking epic –  Mehrdad Jul 24 '11 at 17:28
72  
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
1  
Broken in Firefox 3.6. –  Mechanical snail Oct 10 '11 at 21:33
2  
@PaulPRO: Maybe on the math site? –  Mechanical snail Oct 10 '11 at 21:33
3  
@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
6  
I'm shutting down Stack Exchange because this user told me ‮doowtA ffeJ‭ –  Doorknob 冰 Apr 30 '13 at 0:48

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

share|improve this answer

lollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollol

share|improve this answer

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

Reversing works

link

hash works

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

share|improve this answer

I am probably invading someones else answer lalala

Not anymore, was funny while it lasted but I want to comment on my post.

Does normal math work here on meta? $z=\sqrt{x^2+y^2}$. No, pittyingly not.

Hi
>! Hello
>! World
Peeps


I'm walking in a hallway...


share|improve this answer
2  
Lol now it's messing up the revisions page!! –  Shadow Wizard Nov 19 '13 at 8:47

Hi

Hi

Look! ↗Hi this is tiny text and I don't know if you can see this if you can you must have zoomed in or edited my post and saw the markdown or something like that. Pie is good, by the way.

share|improve this answer
3  
Your text was too large. This has been fixed. –  Mechanical snail Feb 7 '13 at 1:21

Normal, plain t'xt with "varying" punctuation marks.
Code highlighted t'xt with "varying" punctuation marks.

share|improve this answer

LOL

{ ja, je }

LOL2

{ { ja, ja }, { ja, je }, { je, ja }, { je, je } }

LOL-PLEX

{ LOL10100 }

share|improve this answer
                   ``                   
                 `.,:,.`                
               `.,:::::,.`              
             `.,:::::::::,`             
            `,::::::::::::,.`           
          `.,:::::::::::::::,.`         
        `.,:::::::::::::::::::,.`       
      `.,:::::::::::::::::::::::.`      
     `.::::::::::::::::::::::::::,.`    
   `.::::::::::::::::::::::::::::::,.`  
  `,:::::::::::::::::::::::::::::::::.  
   `.................................`  

 

                      ``                
                    `.::.               
                  `.,;;:.               
                `.,;;'':.               
               .:;;:,:;:.               
               .,,.``,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `,;:.               
                    `.,,`               

 

   ``````````````````````````````````   
  `,:::::::::::::::::::::::::::::::::.  
  `.,:::::::::::::::::::::::::::::::,`  
    `.,:::::::::::::::::::::::::::,.`   
      `.::::::::::::::::::::::::,.`     
        `,:::::::::::::::::::::.`       
         `.,:::::::::::::::::,`         
           `.,:::::::::::::,.`          
             `.::::::::::,.`            
              ``,:::::::.`              
                `.,:::.`                
                  ``.`                  

 

                                         ``   
                                        .::`  
                                      `,;;:`  
                                    `.:;'':`  
                                   .:;'''':`  
                                 `,;'''''':`  
                               `,:;''''''':`  
                              .:;''''''''':`  
   ``                       `,;;'''''''''':`  
  `::.                    `,:;''''''''''';:`  
  `:;;,`                 .:;'''''''''''';:.   
  `:'';:,`             `,;'''''''''''';:.`    
  `:'''';:.`         `,:;''''''''''';;,`      
  `:'''''';,`       .:;'''''''''''';:.        
  `:''''''';:,`   `,;'''''''''''';:.`         
  `:''''''''';:.`,;;''''''''''';;,`           
  `:''''''''''';;;'''''''''''';:.             
  `:;''''''''''''''''''''''';:.`              
   .:;'''''''''''''''''''';;,`                
    `.:;''''''''''''''''';:.                  
      `,;;''''''''''''';:.`                   
        .:;'''''''''';;,`                     
         `.:;''''''';:.                       
           `,;;''';:.`                        
             .:;;;,`                          
              `..`                            
share|improve 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.

share|improve this answer

Blockquote Overflow

share|improve this answer
37  
What....on....earth....is....that? :P –  Lix May 9 '12 at 7:08
1  
@Moobs: The new Meta StackExchange style added quite a bit of madness to this post. Editing should work fine now. –  Dennis Nov 6 at 21:47

Testing to see if broken bold markdown fails the same way it does in chat:

行こうかどうしようか = 行こうか**??か**

「許さない、(許さないのは)絶対にだ!」 → 「 許さない、絶対にだ!」

share|improve this answer

List of canonical questions from the main site (for closing questions as dupes). These are mostly the ones I use (and putting them in my Formatting Sandbox post just makes it easier to go back to)

Java:

C:

One thing that I want to add later: something related to "what every programmer should know about floating point" to both languages.

share|improve this answer

Posting an answer so I can post a comment so I can test a theory.

share|improve this answer

This is a test of mixed tabs and spaces.

This line starts with four spaces.
This line starts with a tab.
    This line starts with four spaces and is indented with a tab.
    This line starts with a tab and is indented with four spaces.
    This line starts with four spaces and is indented with four spaces.
    This line starts with a tab and is indented with a tab.

aaa

share|improve this answer

This is probably not the intended use of this tag since Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.

share|improve this answer
#include <iostream>
#include <string>
#include <vector>

template<typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T>& vec)
{
    for (auto& el : vec)
    {
        os << el << ' ';
    }
    return os; // emphasized
}

"string literal"
std::string s = "std::string"
'\n'
share|improve this answer

Page 1 of 904625697166532776746648320380374280100293470930272690489102837043110636675

share|improve this answer

You must log in to answer this question.

protected by Oded Nov 17 at 15:36

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 .