Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 157 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

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
  • 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)) {
            alert("JavaScript code <b>goes</b> here.");
        }
    
  2. 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  
Please provide an MCVE. – Kevin Jul 24 '15 at 13:41
4  
Questions about underwater basket weaving are off-topic for this site. – Kevin Jul 24 '15 at 14:42
1  
@humn instead of a rollback, you can perform an edit with the exact same contents as before your edit (title, in your case) and assuming you do it within the 5 minutes grace period, it will show only a single revision with "[Edit removed during grace period]" - instead of having two revisions. – Shadow Wizard Apr 10 at 10:12

394 Answers 394

lollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollol

share|improve this answer

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

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 '14 at 16:14
4  

This answer should be submitted:

http://serverfault.com/questions/2147483647

This ID onwards, you cannot submit 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

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

share|improve this answer

‮testing

‮testing

‮testing

&#8238;testing

‮testing

‮testing

[tag:‮testing]

share|improve this answer

This answer is rendering weird:

screenshot

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.

share|improve this answer

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!

share|improve this answer

I'm gonna just overwrite your answer here!

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

share|improve this answer

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

So this is a test.

Test complete. Status: SUCCESS

share|improve this answer
2  
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    

share|improve this answer

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

share|improve this answer

wow‮serverfault.com/questions/419407/…‮

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

No.

share|improve this answer
2  
@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
share|improve this answer

using $$ in a post causes strange number series to appear

 
/* ImageFilter.JS
 *
 * Dependencies:
 *  - Browser Environment
 *  - Fabric.js - fabricjs.com
 *  - jQuery
 *  - Vex - github.hubspot.com/vex
 */
 
(function(global) {
    "use strict";
   
    global.ImageFilter = {
        defaultOptions: {
            imageCallback: function(){}
        }
    };
    /* polyfills */
    var extend = jQuery.extend;
 
    function $(selector, el) {
        if (typeof selector !== "string") {
            return selector;
        };
        if (!el) { el = document; }
        return el.querySelector(selector);
    }
 
    function $$(selector, el) {
        if (!el) { el = document; }
        return Array.prototype.slice.call(el.querySelectorAll(selector));
    }
    /* end of polyfills */
    var ImageFilter = function() {
        if (!global) {
            throw new Error("window not found.");
        }
        if (!fabric) {
            throw new Error("Fabric.JS not found.");
        }
        if (!jQuery) {
            throw new Error("jQuery not found.");
        }
        if (!vex) {
            throw new Error("Vex not found");
        }
        this.defaultOptions = {};
        this.CANVAS_ID = "#_IFCanvas";
        this.filters = {
            'sepia': new fabric.Image.filters.Sepia(),
            'brightness100': new fabric.Image.filters.Brightness({ brightness: 100 }),
            'grayscale': new fabric.Image.filters.Grayscale()
        };
        $$("[data-imagefilter]", document).forEach(function($el) {
            $el.addEventListener("click", function() {
                global.ImageFilter.loadImage(this.dataset["imagefilterImage"]);
            });
        });
    };
    ImageFilter.version = "1.0";
    ImageFilter.prototype.loadImage = function(imageSrc) {
        var image = new Image;
        image.src = imageSrc;
        var canvas = document.createElement("canvas");
        canvas.id = this.CANVAS_ID.replace("#", "");
        canvas.width = image.width + 30;
        canvas.style.left = "50%";
        canvas.height = image.height + 20;
        var container = document.createElement('div');
        var ul = document.createElement('ul');
        ul.classList.add('theme-style-none');
        Object.keys(this.filters).forEach(function(filter){
            var li = document.createElement('li');
            var a = document.createElement('a');
            a.href = "#";
            a.text = filter;
            a.setAttribute('data-imageFilter-filter', filter);
            li.appendChild(a);
            ul.appendChild(li);
        })
       
        container.appendChild(canvas);
        container.appendChild(ul);
       
        var CANVAS_ID = this.CANVAS_ID;
        if (this.defaultOptions.imageCallback){
            var callback = this.defaultOptions.imageCallback;
        }
        vex.dialog.open({
            message: "",
            buttons: [
                extend({}, vex.dialog.buttons.YES, {
                    text: "Done"
                }), extend({}, vex.dialog.buttons.NO, {
                    text: "Back"
                })
            ],
            contentCSS: {
                "width": canvas.width + 20 + "px"
            },
            input: container
        }).bind("vexClose", function() {
            var imageData = $(CANVAS_ID).fabric.toDataURL('png');
            callback(imageData, imageSrc);
        });
 
        self.canvas = new fabric.Canvas(CANVAS_ID.replace("#", ""));
        $(CANVAS_ID).fabric = self.canvas;
 
        self.incomingImage = image;
        var imgInstance = new fabric.Image(image);
        imgInstance.selectable = false;
        self.canvas.selection = false; // disable group selection
        self.canvas.add(imgInstance);
        this.canvas = self.canvas;
       
        $$("[data-imageFilter-filter]").forEach(function($el){
            $el.addEventListener("click", function() {
                global.ImageFilter.applyFilter(this.dataset["imagefilterFilter"]);
            });
        });
    };
    ImageFilter.prototype.applyFilter = function(filter){
        console.log(arguments);
        var currentObject = this.canvas.getObjects()[0];
        currentObject.filters = [];
        currentObject.filters.push(this.filters[filter]);
        currentObject.applyFilters(
            this.canvas.renderAll.bind()
        );
    };
    window.onload = function() {
        global.ImageFilter = new ImageFilter();
    };
 
})(window);

/* DEMO.CSS */
body
{
    background-color: RGBA(80, 80, 67, .7);
}
img {
    border-style: solid;
    border-width: 4px;
    border-color: black;
    width: 75px;
    height: 75px;
}
a {
    padding-left: 4px;
}
/* END DEMO.CSS */
/* imagefilter.css */
.vexContent {
    width: auto;
    height: auto;
}
#_IFCanvas {
    display: inline-block;
}
.canvas-container {
    margin: auto;
}
.theme-style-none {
    list-style-type: none;
}
/*END IMAGEFILTER.CSS*/

vex.defaultOptions.className = "vex-theme-os"; server = { upload: function(){ console.log(arguments); } } ImageFilter.defaultOptions.imageCallback = server.upload();

share|improve this answer

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

share|improve this answer

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

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

​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​

share|improve this answer

This is a test for editing via the API.

Test Images (from http://stackexchange.com/about/logos):

enter image description here

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

share|improve this answer

Why not just do this take 010010001001001 split it into two bits 8 letter each (01001000, 01001001). Then issue the powers

    1. 01001001.

The first 8 ignore the first three they determine if it's capital or not, the go right to left doing powers of 2 (2^1, 2^2 2^3 2^4 2^5). So then add all the ones up , there's only one, and it = 8, and te eight letter in the alphabet is h so our first bit is the letter h, try it on the other bit

share|improve this answer

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.
share|improve this answer

/questions/3122#!/questions/3122?test=1

/questions/3122#!/questions/3122?test=2

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

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
share|improve this answer

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.

share|improve this answer

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 or spam answers that had to be removed, 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 .