This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.
623 Answers
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
-
1
-
Super User Meta Stack Exchange [stackoverflow.se] [mso] [mse] magic link works? Commented May 31, 2017 at 14:21
-
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)$
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>
Testing nesting of bulleted lists:
- A bullet point.
- Some clarification.
- Additional examples.
- Example 1
- More info
- NB
- Example 2
- Example 1
- Exception.
- Yet another top-level point.
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 @
Does the link appear or not (https with a capital H) - it does in preview... and here's one with lowercase https://example.com
- this is a test
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.");
}
Does this tag cancel the effects of the one above? Oh, it came above. Dang it.
Lorem Ipsum
List <int> lst=new List<int>();
Console.WriteLine(lst.Count.ToString();
well, well.
Could the tooltip of the
Code snippet
be extended to something likeCode snippet - only for JavaScript and Html
orCode 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.
-
For those who are wondering, this suggestion was originally posted here. Commented Nov 15, 2017 at 15:50
Attempt to put code in a list:
- First item
- Second item
- Third item with
inline code
Fourth item with
code block { }
fifth item, but the block isn't formatted :-(
-
-
@DonaldDuck A double indent. Wouldn't have thought about it myself. Thanks!– MureinikCommented Jan 6, 2018 at 7:03
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?
this is an answer
this is still an answer
<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
-
-
Use comments to ask for clarification or add more information. Avoid comments like "+1" or "thanks".– user382048Commented Feb 24, 2018 at 16:44
-
Testing percent-encoding on post
- http://example.com! http://example.com* http://example.com' http://example.com(
- http://example.com) http://example.com; http://example.com: http://example.com@
- http://example.com& http://example.com= http://example.com+ http://example.com$
- http://example.com, http://example.com/ http://example.com? http://example.com
- http://example.com# http://example.com[ http://example.com] http://example.com
- http://example.com" http://example.com% http://example.com- http://example.com.
- http://example.com< http://example.com> http://example.com\ http://example.com^
- http://example.com_ http://example.com` http://example.com{ http://example.com|
- http://example.com} http://example.com~
For chat: see https://chat.meta.stackexchange.com/rooms/1034/conversation/percent-encoding-behavior-on-chat
. .
testing 123456 and a bunch more characters to reach 30