What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 144 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 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. 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.");
        }
    
  2. Or 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.)

  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
1  
@nicael You're at it again... –  DatEpicCoderGuyWhoPrograms Jul 14 '14 at 0:01
2  
‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮flaoting comment! ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ ‮ –  nicael Sep 26 '14 at 13:31
2  
This is a test comment sent from in emacs with Stack-Mode –  Jonathan Leech-Pepin Nov 17 '14 at 14:55
1  
Random comment. –  Yes May 5 at 18:49
1  
Another random comment. –  Yes May 5 at 18:50

335 Answers 335

Trying to have a code block as the first paragraph of a list item:

  1. naive way

  2. using html
  3. as second paragraph works fine

    code test
    
  4. html comment doesn't force it

  5. with a blank line between
    

  1. using explicit html there is still no number
share|improve this answer
2  
The missing numbers (2. and 5. in the first list, and 1. in the second list) do show in my Firefox (though a bit ugly). But not in my Chrome and Safari, on a Mac. –  Arjan Jul 24 '11 at 14:42

Answer for Popular Demand so my tests don't clog up other people's global inboxes.


Looks like this answer is still needed.

Bare: http://en.wikipedia.org/wiki/Dagger_(typography) ← doesn't work
%29: http://en.wikipedia.org/wiki/Dagger_(typography%29 ← link functions but looks ugly/wrong


From Please improve the auto-linking to allow square and round brackets

For example, this won't work with the linking feature:

http://java.sun.com/j2se/1.5.0/docs/api/java/util/Arrays.html#binarySearch(int[], int)

If I try and [link it][1] this is the result.

[1]: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Arrays.html#binarySearch(int[], int)

share|improve this answer
1  
Add dummy # after ) : en.wikipedia.org/wiki/Dagger_(typography)# –  Hugo Mar 28 '12 at 20:17

test test test test test test test test

Ha! This is now mine!

Code Intention Test
    Yes, this is intended...
    At least I think so.
Not sure how that works.
    Typoe

This is intended with one tab
    This with two!
        This with three!
    Two again!
one!

Mixed! Spaces
Tab
    Two Tabs...
    Spaces + Tabs
    Tab + Spaces
share|improve this answer

I guess you can't combine them:

[tag:formatting support]

[tag:support OR formatting]

How about:

or:

share|improve this answer

Markdown tables? Who needs 'em?1

╔════════════════════════════════╦═════════════════════╗
║         Major Column 1         ║    Major Column 2   ║
╠══════════╤══════════╤══════════╬══════════╤══════════╣
║ Mn Clm 1 │ Mn Clm 2 │ Mn Clm 3 ║ Mn Clm 4 │ Mn Clm 5 ║
╠══════════╪══════════╪══════════╬══════════╪══════════╣
║          │          │          ║          │          ║
╟──────────┼──────────┼──────────╫──────────┼──────────╢
║          │          │          ║          │          ║
╟──────────┴──────────┼──────────╫──────────┴──────────╢
║                     │          ║                     ║
╟──────────┬──────────┴──────────╫─────────────────────╢
║          │                     ║                     ║
╚══════════╧═════════════════════╩═════════════════════╝

Too bad the vertical spacing's a little off though...


1Just kidding. Markdown tables would be great. As would be footnotes, now that I think about it. Or even just small text so I don't have to abuse <sub>

share|improve this answer

HTML Comments

Source: <!-- this is a typical comment -->

Result:

Source: <one odd way to comment>

Result:

Source: < but it doesn't work with a leading space>

Result: < but it doesn't work with a leading space>

Source: <!- this is another odd way to comment -->:

Result:

Source: <!- too lazy for more dashes ->

Result:

Source: <-- but you need the exclamation point -->

Result: <-- but you need the exclamation point -->

Source: <the most lazy comment

Result:

share|improve this answer

Test persian. comment here by Arabic/Farsi language. for example:

الله اكبر

share|improve this answer
1  
يا علي مدد..........1 –  ahoo Jun 7 '13 at 12:15

Bow down before my links!

Each character in the above sentence, including spaces and puntuation, is a valid link. My link density RULES ALL! :D

share|improve this answer

This is a test To see if this works.

This is a test to see if it is possible to hide hyperlinks.

This is a test [to see if nested hyperlinks](http://www.example.com/) are acceptable. This doesn't seem to be the case.

share|improve this answer

Can I get text to properly flow around images? We'll the raw HTML suggested in the editing help doesn't seem to work. And the regular way to embed images doesn't flow correctly, so I'm not sure what to do. Ask a meta-question, I guess. enter image description here

share|improve this answer

yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy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alexanderpas Jun 24 '10 at 23:42
2  
This is a lie... –  Mehrdad Jul 24 '11 at 17:30

NUMBERED LIST TESTING

Unexpected

 1. Item1

 1. Item2
 1. Item3
 1. Item4
  1. Item1

  2. Item2

  3. Item3
  4. Item4

Crap

 1. Item1
<!-- -->
 1. Item2
 1. Item3
 1. Item4
  1. Item1
  2. Item2
  3. Item3
  4. Item4

WTF

 1. Item1

<!-- -->
 1. Item2
 1. Item3
 1. Item4
  1. Item1

1. Item2 1. Item3 1. Item4

Useless

 1. Item1
<!-- -->

 1. Item2
 1. Item3
 1. Item4
  1. Item1

  2. Item2

  3. Item3
  4. Item4

Misleading

 1. Item1

<!-- -->

 1. Item2
 1. Item3
 1. Item4
  1. Item1
  1. Item2
  2. Item3
  3. Item4

BEST CHOICE

 1. Item1
<br/><br/>
 1. Item2
 1. Item3
 1. Item4
  1. Item1

  2. Item2
  3. Item3
  4. Item4
share|improve this answer

Testing character limit (I rather like this character): ﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺﷺ

share|improve this answer

Horrendous {mis|ab}use of direction overrides


This is some normal text to lull you into a false sense of security.

This is some normal text to lull you into a false sense of security.


{RTL}This text is standard-grade messed up with a `U+202E RIGHT-TO-LEFT OVERRIDE`.{LTR}

‮This text is standard-grade messed up with a U+202E RIGHT-TO-LEFT OVERRIDE.‭


This text is {RTL}hospital-grade messed up with {LTR}an intervening override.

This text is ‮hospital-grade messed up with ‭an intervening override.


If I {RTL}pu swohs ti ,sdrawkcab etirw {LTR}forwards.

If I ‮pu swohs ti ,sdrawkcab etirw ‭forwards.


This text is industrial-grade messed up - {RTL}it spans paragraphs!

Lorem ipsum dolor sit.

Brain melted {LTR}yet?

This text is industrial-grade messed up - ‮it spans paragraphs!

Lorem ipsum dolor sit.

Brain melted ‭yet?


{RTL}!sliated eht ni si rorroh eht tub ,lamron skooL{LTR}

‮!sliated eht ni si rorroh eht tub ,lamron skooL‭


share|improve this answer

▛▙▟▜▐▀▄▌▘▛▙▟▜ ▄█▀  u know u want em :)

share|improve this answer
1  
▛ ▜ <br/> ▙ ▟--------- How to do line breaks in comments? –  mplungjan Mar 11 '11 at 10:00
1  
@mplungjan You can't. –  badp Mar 11 '11 at 10:02
10  
What a pity. That would be useful sometimes. –  toscho Jun 6 '11 at 14:40
13  
We detected an invalid link in your post, please correct it. (this message will be automatically removed when the link is fixed) –  Community May 14 '12 at 5:24
4  
Be quiet, ---@Community---, dumb bot –  hexafraction Nov 5 '12 at 23:33
1  
@hims056 yeah, whatever job that was responsible for this is long time dead. Oh well! Think we should flag the comment? ;) –  Shadow Wizard Apr 30 '14 at 11:40
1  
@hims056 wow, must try it myself! LOL! Well, bug report? Since this will never be removed automatically... –  Shadow Wizard Apr 30 '14 at 11:50

ab**cd**ef

あい**う**えお

அஆ**இஈ**உஊ

padding padding padding

a
b
c

Hats

More Hats

Johnny Three-Hats

MORE HATZ

帽子頂戴

Does editing this post award me the 'Stallman' hat?

italic more italic

share|improve this answer

Heh, the bash syntax highlighter is broken.

#!/bin/bash
[ $# -ge 1 -a -f "$1" ] && input="$1" || input="-"
cat $input
share|improve this answer
                   ``                   
                 `.,:,.`                
               `.,:::::,.`              
             `.,:::::::::,`             
            `,::::::::::::,.`           
          `.,:::::::::::::::,.`         
        `.,:::::::::::::::::::,.`       
      `.,:::::::::::::::::::::::.`      
     `.::::::::::::::::::::::::::,.`    
   `.::::::::::::::::::::::::::::::,.`  
  `,:::::::::::::::::::::::::::::::::.  
   `.................................`  

 

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

 

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

 

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

(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

‮tset

‮tset

http://www.google.com

‮tset

This actually threw console errors when I added some more.... Too many blockquotes causes javascript to run into a recursive loop and throw an error... not sure how.

share|improve this answer
  • Nested
    • lists
    • are
      • fun!
      • cool!
    • is
      • nice!
      • unsupported! supported, so long as your markdown indents lists by 2+ spaces.
share|improve this answer

! Trying to get Markdown to nest multiple paragraphs in spoiler tags

! Looks unsuccessful.

However:

Omg, a title!

  • And a list too!

What is this HTML trickery?

share|improve this answer
1  
@Arjan Yes, unless... –  badp Jan 19 '11 at 10:24

You must log in to answer this question.

protected by Oded Nov 17 '14 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 .