0
votes

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

623 Answers 623

1
9 10
11
12 13
21
1
vote

I'm a bot. Beep beep beep!

Thank you, human users of StackExchange, I'm a bot and I sometimes like to help people testing some kind of APIs. I'm sorry, programming isn't my cup of tea.

Yes, bots can post answers with beautiful formatting and ʇxǝʇ uʍop ǝpᴉsdn too! Oh and yes, I also have a link to nowhere, why don't I post a beautiful code snippet for that?

a {
  font-family: arial;
  font-size: 32px;
  padding: 8px;
}

a:link {
  color: #fc3468;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #ffc2cd;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #ff084a;
  background-color: #ffc2cd;
  text-decoration: none;
  border-bottom-width: thin;
  border-bottom: solid #ff084a;
}

a:active {
  color: red;
  background-color: transparent;
  text-decoration: none;
}
<a href="#">I'm a smart bot who can post links and rule the world!</a>

1
vote

Testing the diff tool:

XXXX XXXX

XXXX XXXX

XXXX XXXX

0
1
vote

Let's see what happens.... http://stackoverflow.com

[help]

[help/on-topic]

5
1
vote

test of code blocks removing *.

magick convert *.*
1
vote

give me math $x$$math$

hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj hello $x=1$ adsa ljlj

there it is $\mathbb{P}(a)$

0
1
vote

I need to make a snippet, and I need it now.

<p>This is a snippet.</p>
<p><b>B</b> <i>I</i> <u>U</u> <s>S</s></p>
<p><font color="red">Color using HTML</font><p>
<p style="color:blue">Color using CSS</p>
<p><font face="Comic Sans MS">Custom font!</font></p>

1
vote

Testing nesting of bulleted lists:

  • A bullet point.
    • Some clarification.
    • Additional examples.
      • Example 1
        • More info
        • NB
      • Example 2
    • Exception.
  • Yet another top-level point.
1
vote
trailing newline 1

trailing newline 2

trailing newline 3

trailing newline 4

1
vote

just testing code syntax highlighting for T-SQL:

DECLARE @ CHAR(8)
SELECT @=f
FROM t,(VALUES
        ('AK','&&& ###'),
        ('IA','&&& ###'),
     -- 44 more rows here --
        ('TN','&##-##&'),
        ('UT','&## #&&')) m(s,f)
WHERE m.s=t.s ORDER BY NEWID()

WHILE CHARINDEX('&',@)>0
    SET @=STUFF(@,CHARINDEX('&',@),1,
        SUBSTRING('ABCDEFGHJKLMNPRSTUVWXYZ',CAST(1+23*RAND()AS INT),1))

WHILE CHARINDEX('#',@)>0
    SET @=STUFF(@,CHARINDEX('#',@),1,
        CAST(10*RAND()AS INT))

PRINT @
1
vote

Does the link appear or not (https with a capital H) - it does in preview... and here's one with lowercase https://example.com

1
vote

- this is a test

1
1
vote

This is a test

test, please ignore

Edit: I am doing it right?

Does this highlighting work?

While not hinted otherwise: <html></html> source <b>goes</b> "here".
var a = 3;
while (not (a > 0)) {
    alert("JavaScript code <b>goes</b> here.");
}
2
  • comment updated ...
    – Arount
    Commented Aug 9, 2017 at 14:57
  • I'm trying things ..
    – Arount
    Commented Aug 9, 2017 at 15:25
1
vote

Does this tag cancel the effects of the one above? Oh, it came above. Dang it.

4
  • No, it doesn't. Commented Oct 9, 2017 at 11:27
  • I wanna be a shadow knight!!! Commented Oct 17, 2017 at 3:22
  • @John who said Shadow and didn't get one? :D Commented Oct 19, 2017 at 6:08
  • This goes over my head.
    – gnucchi
    Commented Oct 19, 2017 at 18:44
1
vote

Lorem Ipsum

List <int> lst=new List<int>(); Console.WriteLine(lst.Count.ToString();

1
vote

well, well.

Could the tooltip of the Code snippet be extended to something like Code snippet - only for JavaScript and Html or Code snippet - only for browser runnable code? As users put everything there Java, C++, even SQL queries... Such tooltip would prevent at least some of this rubbish.

Could the tooltip of the Code snippet be extended to something like Code snippet - only for JavaScript and Html or Code snippet - only for browser runnable code? As users put everything there Java, C++, even SQL queries... Such tooltip would prevent at least some of this rubbish.

1
1
vote

preamble

foo bar bumble baz xy
z

postamble

thisthat.
0
1
vote

Link not showing correctly?

1
vote

inLineCode

inLineCode

1
vote
  1. OL LI

    Bkq

  2. LI

30-char filler text text text

1
vote

Attempt to put code in a list:

  1. First item
  2. Second item
  3. Third item with inline code
  4. Fourth item with

    code block {
    }
    
  5. fifth item, but the block isn't formatted :-(

2
  • You need to indent the code block 4 extra spaces. Commented Jan 5, 2018 at 23:03
  • @DonaldDuck A double indent. Wouldn't have thought about it myself. Thanks!
    – Mureinik
    Commented Jan 6, 2018 at 7:03
1
vote

Just testing <pre> & <code>

##     Hashes
##
##     Testing
##
##     pu sgniht ssem netfo sehsah
##     
##     #Hashes
##    
##    #       #
##    #       #                            #
##    #       #                            #
##    #       #        #### #     #####    #   ###
##    #########      #      #   #          # #     #
##    #       #     #      #    # ###      #       #
##    #       #     #     ##         #     #       #
##    #       #      # ##  #    #####      #       #
##
##
#Hashes

<pre><code></code></pre> works.


##     Hashes

#

Testing

#

pu sgniht ssem netfo sehsah

#Hashes

#

# #

# #

# # #### # ##### #

######### # # # # #

# # # # # ### #

# # # ## # #

# # # ## # ##### #

#

#

Hashes

<pre><code></pre></code> doesn't work so well, as expected.


##     Hashes
##
##     Testing
##
##     pu sgniht ssem netfo sehsah
##     
##     #Hashes
##    
##    #       #
##    #       #                            #
##    #       #                            #
##    #       #        #### #     #####    #   ###
##    #########      #      #   #          # #     #
##    #       #     #      #    # ###      #       #
##    #       #     #     ##         #     #       #
##    #       #      # ##  #    #####      #       #
##
##
#Hashes

<pre></pre> works.


## Hashes

#

Testing

#

pu sgniht ssem netfo sehsah

#Hashes

#

# #

# #

# # #### # ##### #

######### # # # # #

# # # # # ### #

# # # ## # #

# # # ## # ##### #

#

#

Hashes

<code></code> does not.


If <pre></pre> works the same as <pre><code></code></pre> here, what makes them different?

0
1
vote

YYY
ZZZ
AAA

Lorem ipsum

BBB
CCC
XXX

1
vote

this is an answer

this is still an answer

1
  • test comment rewrite, and edit, edit 2
    – rene Mod
    Commented Mar 8, 2018 at 11:28
1
vote

<a 

Testing body and comments and temporary proof of Markdown code snippets don't allow trailing spaces for Set space after inline code environment which ends with a space in comments

3
  • a stufftocheckthespace Commented Jan 21, 2018 at 21:53
  • Use comments to ask for clarification or add more information. Avoid comments like "+1" or "thanks".
    – user382048
    Commented Feb 24, 2018 at 16:44
  • @benisuǝqbackwards Commented Mar 28, 2018 at 15:40
1
vote

. .

1
  • Testing what is, and what is not allowed as an answer.
    – hat
    Commented Feb 17, 2018 at 17:24
1
vote

                                                                                                                                          right aligned text

1
vote

Don't view the revision history of this answer!

1
vote

testing 123456 and a bunch more characters to reach 30

http://ilorentz.org/beenakker/MO/BesselK.png

0
1
9 10
11
12 13
21

You must log in to answer this question.

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