0
votes

This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.

623 Answers 623

1
7 8
9
10 11
21
1
vote

  • Is this off the edge?
  • 1
    • Orange you glad I didn’t say banana again
      – Ry-
      Nov 20, 2013 at 18:35
    1
    vote
    1
    vote
    1. a

      b

    c

    bug?

    1. b

      c

    d

    no bug

    1
    vote

    asd
    : as asd
    asds...............

    1
    • Just in case: using newlines (two spaces after a line) rather than proper paragraphs, is rarely appropriate... ;-)
      – Arjan
      Sep 17, 2013 at 16:52
    1
    vote

    Notification test for the android app. Please add comments.

    6
    • here is a comment
      – user000001
      Sep 24, 2013 at 11:51
    • Not notified :(
      – user000001
      Sep 24, 2013 at 11:52
    • Can you notify yourself?
      – Uooo
      Sep 24, 2013 at 12:06
    • @Uooo I just got the notification on the phone. Thanks. Can't see the answer on the phone though due to this bug
      – user000001
      Sep 24, 2013 at 12:09
    • Do you need some more notifications? :D
      – Uooo
      Sep 24, 2013 at 12:14
    • @Uooo Not it is ok thanks :)
      – user000001
      Sep 24, 2013 at 12:15
    1
    vote
    public void test() {
         String temp = "MyOddCodeTest";
         int idx = 0;
     }
    

    Here's a spoiler'd code block that looks like a quote:

    ! function foo() { var bar = "hi"; }

    Here's a spoiler'd code block that looks like code:

    public void test(){
        String temp = "MySpoilerCodeTest";
        int idx = 0;
    }

    1
    vote
     int i = 0;
    

    Testing editor I thing

    0
    1
    vote

    enter image description here

    Let there be animation!

    1
    • 1
      Indeed. I noticed this recently.
      – tombull89
      Jan 24, 2014 at 18:59
    1
    vote

    This is a test of spoilers.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

    and links http://google.com

     <a rel="nofollow" target="_blank" href="http://loremipsum.net/">http://loremipsum.net/</a>
        Lorem ipsum dolor sit amet, consectetuer adipiscing elit, <a rel="nofollow" target="_blank" href="http://loremipsum.net/">http://loremipsum.net/</a> sed diam nonu 
     <!-- blah -->
    
    2
    • http://www.google.com
      – rene
      Mar 12, 2014 at 15:48
    • <a href="http://www.google.com">http://www.google.com</a>
      – rene
      Mar 12, 2014 at 15:54
    1
    vote

    foo foo\foo\ foo foo

    filler text

    4
    • foo foo\foo` foo foo`
      – Stijn
      Jul 3, 2014 at 9:17
    • foo foo\foo\` foo foo`
      – Stijn
      Jul 3, 2014 at 9:41
    • foo foo\foo\` foo foo
      – Stijn
      Jul 3, 2014 at 9:42
    • foo foo\foo\\` foo foo`
      – Stijn
      Jul 3, 2014 at 9:43
    1
    vote

    “This question has more than 30 answers.” You don’t say.

    class Line
    {
        virtual int num() = 0;
    };
    
    1
    vote

    await something;

    1
    • <code>**await** something</code>
      – svick
      Nov 5, 2014 at 1:08
    1
    vote

    lollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollollol

    1
    vote

    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

    1
    1
    vote

    updated this is an all small case answer without punctuation

    4
    1
    vote
    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.

    1
    • EEEEEEEEEEE :D :D :D :D :D :D Nov 17, 2014 at 15:32
    1
    vote

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

    1
    • wwwwwwwwwwwwwwwwwwwwaaaaaaaaaaaaaaaaaatttttttttttttt Mar 8, 2015 at 0:03
    1
    vote

    ‮testing

    ‮testing

    ‮testing

    &#8238;testing

    ‮testing

    ‮testing

    [tag:‮testing]

    1
    vote

    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.

    0
    1
    vote

    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!

    0
    1
    vote

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

    So this is a test.
    

    Test complete. Status: SUCCESS

    1
    • 2
      Oh, he specifically said comments. So let's try that.
      – MBraedley
      Jun 18, 2015 at 17:49
    1
    vote

    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.

    2
    • Is there some kind of bot that changes these automatically?
      – user234810
      Nov 15, 2015 at 22:09
    • 2
      @nicael Is this to encourage users to delete posts here, so as not to be so pestered by edit notifications?
      – user234810
      Nov 15, 2015 at 22:16
    1
    vote

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

    1
    vote

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

    1
    vote

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

    6
    • 1
      Testing an almost empty body (meta.stackexchange.com/questions/271986/…) Dec 28, 2015 at 9:39
    • َََََََََََََََََََََََََََََََ Dec 28, 2015 at 9:50
    • It works in comments as well... Dec 28, 2015 at 9:50
    • 1
      It does get picked up with the LQP review queue. Dec 28, 2015 at 9:59
    • @PatrickHofman I assume it got picked up because I am used the minimum allowed character count (30), I think if I added more it won't be picked up. Dec 28, 2015 at 10:00
    • 1
      Indeed. You are correct on that. Just wanted to mention it. Dec 28, 2015 at 10:01
    1
    vote

    kbd recursion

    quote recursion

    0
    1
    vote

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

    2
    • ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
      – Krease
      Feb 22, 2016 at 19:45
    • testing non-visible spaces
      – Krease
      Feb 22, 2016 at 19:47
    1
    7 8
    9
    10 11
    21

    You must log in to answer this question.

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