This post exists purely to house answers formerly attached to the formatting sandbox. You can safely ignore it.
623 Answers
Attempts to trigger the "unformatted code in question" bug on save.
function showInnerHtml() {
console.log(document.getElementById('questionField').innerHTML);
}
<input id="questionField" type="text" value="420">
<button type="button" onClick="showInnerHtml()">Button</button>
-
Pretty sure the quality filters are turned off on meta sites, or more likely turned on only on SO. Sep 20, 2018 at 10:05
-
-
2
short answer
-
2Visit mine: meta.stackexchange.com/a/316847/366626 . The SE's shortest answer ever. Oct 20, 2018 at 16:11
Don't run this snippet. It contains a virus!
<marquee>Influenza</marquee>
In any case, my advice is to avoid marquees like the plague.
-
1Do you know another thing you should really avoid like the Plague? The Plague. Dec 20, 2018 at 13:19
If you can see there's a tag over there without hovering, then you gotta be careful!
This is a useful test for Puzzling Stack Exchange.
print('hello world')
print('hello world')
So <code>...</code>
is equivalent to just simply using
`...`
But like:
print('hello world')
Is different.
That spoiler formatting has been biting me. Time to see how it works.
First up:
markdown lists in a spoiler:
Formatting:
>! 1. one
2. two
Result:
! 1. one 2. two
Formatting:
>! 1. one
>! 2. two
Result:
1. one 2. two
HTML lists in spoiler:
Inline
Formatting:
>! <ul><li>one</li><li>two</li><li>three</li></ul>
Result:
- one
- two
- three
Not-inline HTML lists in spoiler 1:
Formatting:
>!<ul>
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
Result:
!
- one
- two
- three
Non-inline lists in spoiler 2:
Formatting:
>!<ul>
>! <li>one</li>
>! <li>two</li>
>! <li>three</li>
>!</ul>
Result:
- one
- two
- three
Happy new year!
Happy new year!
Happy new year!
Happy new year!
Happy new year!
Happy new year!
Happy new year!
It's 2019!
-
1
this isn't a real language (language: thisdoesnotexist)
this isn't a real language (language: lang-thisdoesnotexist)
this isn't a real language (lang: thisdoesnotexist)
this isn't a real language (lang: lang-thisdoesnotexist)
When... did code fences start working / not looking terrible?
fn foo() {}
def foo
end
fn main() { a[] }
How to put a plain hashtag (#) in a post
When you type a # at the beginning of a line in a post and try to put text immediately after it in a post using markdown, it creates text in a header:
Text
If you want actually put a # in the post, you must use a backslash to escape it:
#Text
Here is the plain text for the heading text:
#Text
and for the text with an actual hashtag:
\#Text
Introducing HTML5 http://ecx.images-amazon.com/images/I/41z0FVu9ZhL._SL500_AA300_.jpg and HTML5 For Web Designers
-
Please don't actually edit this answer, it's needed in its current form for a bug report.– Glorfindel ModFeb 26, 2019 at 13:12
Stack Exchange HTML Div ID Jumping
Clicking here should (ideally) send you to a <div>
at the bottom of this answer
the bottom
-
1Stackexchange can use js to mangle/hash user-supplied div ids so they are globally unique Sep 21, 2012 at 2:45
-
1
-
-
1
T h i s b u t t o n i s g r o w i n g e x p o n e n t i a l l y . W h a t s h o u l d I d o ? ? ? ? ? ? ? ? ?
This answer is write-protected
(think so? no.)
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
edited
-
1
-
Hmm.... looks like they fixed this "bug" at some point. /cc @Arjan Dec 16, 2014 at 12:56
-
-
@Peanut of course, as I said in previous comment they fixed the bug causing it. Sep 3, 2016 at 21:36
Thanks for your edit!
This edit will be visible only to you until it is peer reviewed.
Utf+8 is really great.
Ûʧ÷ȣ ıŝ ŗèǟƖʅȳ ĝʀȇατ.
ȏͥȏ̂ͥpͪšͭ͂ ͆ĭͥͮ̏̔ͣ ͦ̈ͨ͗m͛̍̆eͬ̃̽͋ͪ͛̀sͬ͊ͪ͌̎̈s͋̀ed͐ i͒ͨ̄tͮ͂͂ͩͣ ̈́̔̆̃ủṗ̓͂ͬ
w͒̐̀̔̄ͣ̉h̰̙̖̹̖̬̳͙̣e̙̣̜nͤ́̋̐ ̝͍̯̼̳̼y̙̤̪̠̪oͩ̇̋̏̑̋ͨ̋̊͋̈́͋u̳̥̭̱̫ ̭̼̝̮͔͖c͔̮̣̤͕̣͖o͓͔̝̬̩̟ͅn̮̖̳̩͔̮̜v̤̮̬e͎̠ͅr̟͖̻͕̗̦̼t͇̫̭̪̹̪ ̦̱͍̼̫̠͎͉s̝̪͚̮̺͙̳̤t͈̘̙̲̟̲u̜̥͙̞̫̺͙ͅf̙̩̮̙̬̳̟f̹̪͍̳̹͓ ̮͇t̹̟̟̝͙̞̫o̰̰ͅ ̹͚̹o̬̦̤͕̠̣t̺̬͕͓͔̖̯̤ẖ͎͓̩e̺̘r͕̼̖̘̣ ͅs̟̪t̳̦u̮̟̖̯̥̝͈̫f̦̮̤f̺͙ ͖̺̙͕̮i̜̱̗̣t̺ ̥t̰͙̦̞̗̱͇̺̲u̜̺̯̯͖͈̱r̻̳̗̞̭̥̞̝̜n͔͚̫̘s͇͍̰͇ ͙͖ͅo͚̭̰̮̬u̠̯̰̤̞̠̲̙t̲̘̘̺̙͕ ̺͍̲̻͉͉w̫̥̲͉̗e̬i͎͓̹͈̹͇̦̰ȑͧͮ̑ͦ̂ͮ̎̎͗̌ͮ̾̚d̪̣̺̦͔͓̜̯ W͟͠a̵͜͟i̢̛͢͡͠t͘ ̶̛͜͠͠ẁ̸̨͢h͞a̢͠͝t͏̵̕'̨̛́͡s̵̶͟ ̢͜͝͝͠h̸͡a͜p̶̢͝͝p̶͏̵͝ę͡n͟͜i̛͢͡ńg̶̢͠
W̯̦̙͇̻̟̠̯̟̠͇̺̬̬̭͍̱̒̈́̿̌̄ͦ͆̀ͭ̐ͯ̌͋ͮ̆̽̍̃̎͝H̡̡͔͎͈̘͍̪̥̪̱̗͕̼̫͇̘͒͐ͭ̈́ͦ͢͞͝ͅY̵̷̡͎̣̜̫̰̘̪̝͈̝̙̠̙ͩ̎ͭ̎͆̔̏̾ͮ̋̅ͭ̓̿́͡ ̷̢̺͉̼̫̗̣͚̀̅̆̈́̉ͥ̎͛͞͞M̧̒̽̽̏̋ͬ̐͆͂̕҉̨̜̣̻̻͚̲̝͚̼ͅU̱̱̜̬̥̖̜͉̩͙̹ͪ̓͌͂͂ͭͧ̐ͣͯ͆ͯͭ́͟͟͡͠ͅS̈́̀̄͆̃͐̈́́ͩͨͦ̓ͩͩ͐̇͆͋̚̕҉̳͈͙͍̬̗ͅT̷͕͓̰̱̼̠͈̲̩̟͕̰͕̘͓̫̞̬̯̀ͩͦ̿ͥͧͪͫͩ͑͌̒͜ ̴͓̥̩̠͎͖͓̞̲̥̩̺̤̗̟͐͛̊ͪ́̃̒̃ͥ͊ͣͭͭ͘͢͠ͅT̶͚̜̩͉͕̥̞̠̳̿́̈́̌̈̇̐͐͛̕͘H͇̱͕̭̺̼͕̻̬̗̞̮͓̙͇̫̬̤͗̓̄ͩ̾̌ͧ̑̀͢͢͠ͅI̷̡̗̹̱͍̹̖̣̹̪̮͇̙̝͍̲͕ͥ̋ͥͬ̓͌̍ͫ͑͂ͪ̚͡ͅS͕̥̻̪̠̮͍̞͉̀ͧ̆̒ͧ̔̄̂̚͘̕͢͞ ̌͌̉̇̀ͥͬ͒̈̽ͩ̍ͯͧ̽͋ͧ͏͉̻͈͔̰̠͖̪̩͔̫͚̝͎̺͍͍̤ͅW̛͖̺͉̗̱̩̤̱͚̰͕̓̌͊̀̉͋͛ͨ̐̒̇͗̍̚̚͜O̧ͨ̎̑ͧ̓҉̨͚̰̳̯̭̻̳̖̕R̴̙̞̝̪̖̀̽̐ͮͤ͋ͤͣ̈́̃ͮ̒͠L̘̰͚̼͈̗͍̲͖͚͍͇͊̾̓̽̉̓̉͐̈̀͢D̓̊̑͌ͧͩ̌̿̂͌ͮ̅̇̉̒̅̈́͝҉̞̝̥͎̖̞̗͈̺̟͖̺͈͖̫̤͘ ̷̛̛͖̮̪̙̮̟̣̥͇͓͍̗̀ͯ̿͂ͤ̅̏ͪ̂̔͆̔̀͋T͑̎̌͐ͣ͊̊ͬ͐͊҉̫̣̼̩̺̬̗̫̝̰̗̫̪̼̣̬͎̳͘͟͠O̲̤̼̳͓̟̲̘̬̹̣̺͈͊̏̆̇́̈́́̆͐̊̔̐ͪ͟͠ͅȐ̶̝͕͇̭̿̾ͨͣ̔̑Tͦͧͧ̀̿̓̕͠͏̺̙̱̞͢U̹̖͔̖̻̺͙̮̙̝͎̟͚͉̍̇͆͛͆͐̈̕͞͠R̵̨͕̬̻̥̭̼͎̪͍̘͑̓͂͑̈ͣͫ̔͋͛̓̈̇̓͂̊̐͒́͜Ȩ̅̉ͭ̀͛ͥ́̚҉̸̼̗̬̦̼̭̝̼̣̙̗̦͇̩̱̙͜ͅͅ ̼̙̣̬͓͔̫̖͇̥̑̑ͭ̇̏̍ͧ̒̐̾ͧ̓ͤ͗̆̀̉͐͑̀͜͡͞M̆́͊̎̋̑̆̐ͦ́͆ͤ͆͘͏̘̥̤͎̰̙̣̗E̢̨̥̭̥̣̟͖̺͙̜̙̞̘͎̞̭̓̇̾ͫ͘̕͠ͅ
ooh, code overrides the xraziness
-
1W̧̨̰̦̪͌̄͗͂͟͠T̸̡̤͚̪̹͍͔̣͔̤̮͉̣͐̆̊ͣ̈́̔̉̎̆͒ͨͮͣ̅̒͗̈́ͣF̸̬͍̜̺̼̬̪̣̟̙̬̻̗͇̼̤̺͎̽̒͒͐̌͜ͅW̷̹͍̥̦͇̹̖̜̙͚̯͇̟̘͕͔̩̽ͪ͑̀͂̋ͪ͐ͩ̒̾̎̒ͮͮ͑̃ͦ͛͢͟͝͠T̸ͣͭ͐̓̀̽̇̽ͬ̀̀͏҉̸͕̪͎͉͚̘͓̤̞̞͚̪F̶̨̬̝̥̙̻̼̲̹̭͋̑̈ͪ̓̾̀͋̊͑͌̂̔̈̀̏͌̋̚͟W̶̜͚̙͕̬̹̹̦̹͙̹͇̺͉̣̃̔̓͑̋̌̃ͪͤ͊̆̍͑̇̊ͭ̔̄̂̀̕͝ͅT̨̤͚͚̺̰̬̩̤̜̮̅̓ͤ͊̀̂̋̆̊̎ͬ̕͟F͛̄̅̎́̄̄ͪ͆̊͆̏̀̊̚̚͝͏̸̷̨̩̩̤̜̮͉͕͖͎W̸̡̪̖̼̳̫̘̱̔̈̿͛ͬͮ͊ͮ̊ͨ̆ͬͤ̀̚͡T̢̤̞̹̤͈̳̹̲͎̪̮͓ͫ̈̒͑̈̀͢͡F̨̛̝̩̼͈͚̠̙ͬ͑ͯ͐ͫ͌̽̋͐̉̓̉ͫ͛̇̀̚̚W͌̏ͣ̐ͪ̂̊͞҉̖̜͖̰̰̫̰̞̹̲̤̼͈̘̜̟̠͎͟͡T̫̠̭̹̘̰͙̞̗̮̬̪̾̈́ͤ̐̂ͨͫ̓̇͛̐͠F̆̓̀̆͋ͥ͂̐͑̎ͮ̉ͥ̚҉̵̨̠͙̮͖͈͙̤̖W̵ͥ̈́̌̆̆̑̒͌̈́́̆ͧ͆ͫ͐͏̴̸̣̰̼̭̦̥̲̼̼̥̮̦̠̹̹ͅŢ̴̱̪̼̦̬̟͖̰͈̻̦͍͂̽̿ͬ͋̇ͭ͐̍̐ͣ̽̉̿̈ͩͣ̎͢F̌̑̀̓̅͏̴̹͙̺̱̝̗͝W͔͙̭͍͔̰͙͔̤͒̈ͭ̎ͤ̎̈͛ͥ̔͊͋̎̏ͭ́͞Ţ̸̩̰̦̤̳̭̖̤͎͙̊͛͐ͭ͂ͮ̄̿̅̑ͥ̕͜F̴ͮ̿̊̇̄̈́͘҉̠̣͈͇͎̭͍̙̱̰̜͓̣̠̖̦̩– MD XFDec 15, 2016 at 20:54
-
1W̷̠̩̜̩͎̘̹͛ͧ́́̊̎̃͒ͮ̃̽̒̅̉̇̇͋̚͢T̵͆̌ͨͥ̊ͬͦͯͪ̍ͣ̉͂ͯ͏̧͎̞̖̞̭̭͠F̸̛̙̦̗̭͙̞̞̠͙̖̙͆̄ͤ̐̏̐̌́͜͠W̷̛̟͕͚͙̯̪̞̫̃ͬ̾̆ͩͮͥ͢͞Ṯ̴̢̛̮̦̗͉̰̠͎̰͔̲͔͓̯̺̭̱ͯ͊̍̈́͛F̴̜̜̤͇̗̦̤̞̗̭̰͍͙̻̃̈́̂ͪ͑̂ͨ̊͑̊͋ͧ̃̍̈͜͞͡W̸̡̘̬̦͚̖̗͕̝̪̥͙ͭ̓ͨͥ͗͋̔ͥͤ͆ͪ͂̎̀̚T͌͗͛͐̈́̑̀̐̑͋̈҉҉̸͇͈͎̝͠F̏̃ͨͮ́̏̄̐̾̒͆ͪ͟҉̠̻̖̘͚̦̲̺̤̰͘W̑̍̀͊ͫ̓ͧ̋̆ͥͮ̆̊̈́̽͏̴͡҉̳͓̝̱̟̲̝̦͕T̟͎͔͍̩̼̮͎̤͎̝͍̼͑̑̅̐̇͗͑ͮ͊͑̍̑͒͂ͪ͒̀̕͝͞͠ͅF̷̷̧̫̝͕͇̮̗̉̔ͣ̑̇̐̓̒̊̓ͭ̎̍̓̒ͦͯ̀́͘W͖̰̹͙̠̥̳̻̩̼͇̤̯̺̺͉̑̈́̔ͨͫ̅ͪ̕͜ͅT͑͛ͥ̑ͩ̐͐̆ͩͧ͆ͯ̈̈́ͤ̈́͛͊̄͏̷̞̙͙̦̲͍̱͓̼̯̬̪̬̬ͅF̹̹͔̲́̐͆̑ͥͥ͗̑̌̓͊̽ͫ̓̓͑͊͒͢͞Ẁ̦̣̱͈̘̲̭͓̝ͫ̊̐̏ͦ̈̑ͬ̃͒̓̀̀̚͜Ţ̸̱̙͕͉̙̓̉̅͗F̢̫̻̞͕̖̘͕̩̟͕̬̤͒̆ͣͩ̾̈͋͋̂̓̌̚̕͘͟ͅẆ̴̱̮̱͇̼̯̹͈̘̹͎̼̝̟ͣ́̍̅̔͊̎ͬ͐̆ͥ͐ͫͥ́ͦ̔ͪ́͢͝ͅT̸̬̤̯̪̻̳̼̹͈͕̙ͯ̊̇͆́̇̾̐͋͋ͮ̃ͥͥ̉̏͋̕͟͜͡Fͫͧͤ̔͞͝͏̱̗̩̱͕̩̱̣̳͡– MD XFDec 15, 2016 at 20:55
http:\//www.example.com/index.php
-
17
-
-
-
-
-
4
-
This is a test for editing via the API.
Test Images (from https://stackexchange.com/about/logos):
(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! :)
-
Lol, and why freehand? Nobody sees it in sandbox, needs another target :D– nicaelJun 20, 2015 at 18:34
-
@nicael stackapps.com/questions/6353/freehand-circles-drawing-tool. BTW it only works on answers FOR NOW - I'll fix it in a bit!– ᔕᖺᘎᕊJun 20, 2015 at 18:35
-
Great! Come here chat.meta.stackexchange.com/rooms/89/tavern-on-the-meta! That's fun.– nicaelJun 20, 2015 at 22:23
* * * + * * * *
* * * ### * *
* * ##### * * *
* * * * * ####o### * * * *
* * ####|########### *
* * * * ####"##o## * * *
* #################|#### *
* ## * ###|###o######## * *
* * * ##############|###o##"#### *
*###"###o############# *
* * *** * ###########|## * *** * *
####|###o #####o############## * *
*** * ###############|##o##### * *
***** * # #### # * *
********* * * #### * * *
************************######************************ ******
Testing search for accented characters: Gâteaux, François, Gödel, Pólya, Čech.
alert("Hello World!");
body{
color:blue;
text-decoration:underline;
cursor:pointer;
}
<html>
<head>
<title>Hello World!</title>
</head>
<body>
Hello World!
</body>
</html>
A|B|C
-†-†-
D|E|F
-----
G|H|I
Does ```
formatting work to make a code block, like a four-space indent?
foo
bar
Apparently not.
(But see the code of this paragraph or the heading, for what consecutive `
s actually do.)
-
1The backticks are for inline code, whatever is between two of those is formatted as code, but without prettify. It
also works in comments
. Sep 28, 2017 at 9:28 -
@ShaWizDowArd Yes. I assumed it would not work to create a code block, but wanted to test the claim that it did--which is apparently true only for some other dialects of Markdown--just in case I had missed something big in that post. Sep 28, 2017 at 9:35
-
Why are your name here "Stephen Leppik" but actually "Car Insurance"? Dec 11, 2017 at 16:26
How to Post Duplicate Answers
- Duplicate your post content in one post.
- Take an image capture of any "0 score" votes plus voting buttons for the duplicate answer.
- Create a mock-up of the share/edit/flag links, plus the "answered at" complete with GMT timestamp, "community-wiki", and link to show revisions.
share edit flag edited Jan 5 at 1:20 community wiki
5 revs, 2 users 97%
rgettman
4. (Optional) Create a comment mockup. – rgettman Dec 8 '17 at 0:56
add a comment

How to Post Duplicate Answers
- Duplicate your post content in one post.
- Take an image capture of any "0 score" votes plus voting buttons for the duplicate answer.
- Create a mock-up of the share/edit/flag links, plus the "answered at" complete with GMT timestamp, "community-wiki", and link to show revisions.
-
2
Is striekthrourh spornted?
Thankfully, yes.
-
1<s>but not in comments</s> ---this does not work either--- Jan 13, 2018 at 17:21
-
You have a reasonably small program. You can debug this one yourself, using these excellent suggestions: ericlippert.com/2014/03/05/how-to-debug-small-programs (warning: these are simple steps, but it still might not be easy going) Jan 21, 2018 at 3:17
-
You have a reasonably small program. You can debug this one yourself, using these excellent suggestions. (warning: these are simple steps, but it still might not be easy going) Jan 21, 2018 at 3:18
-
In case someone is wondering about Jon Arndt's comments above, see stackoverflow.com/posts/comments/83735960 Jan 26, 2018 at 17:19
-
While this strikethrough may answer the question, it is better to include the reasons for crossing out parts of the answer here and provide the strikethrough for reference. Strikethrough-only answers can become invalid if markdown support is removed. Mar 9, 2018 at 3:17