# Formatting Sandbox

Notes:

• Answers will occasionally be moved to the Sandbox archive when there are too many of them. When using them to report bugs, keep an eye on the post.
• This site, Meta Stack Exchange, is usually used as a "test bed" for pending changes happening to the way text is rendered on all network sites. Changes to text rendering that are going to be rolled out to the network are usually deployed here first to test them out and fix any potential glitches. Currently, there are no such changes pending, but if there were, keep in mind that text posted here may render differently from the other sites until the changes roll out to them as well.

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 only 100 reputation to edit instead of 2,000)
• post answers to this question (This question might be protected, requiring earning 10 reputation on this site to answer)
• test suspected bugs with the editor or the rendering
• post ponies (only when mods are asleep)

Beware that since the changes to syntax highlighting in December 2010, and the inline hints added in 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. As of January 8, 2019, you can use GitHub-flavor fenced code blocks in your posts, specifying the language after the opening fence:

html
While not hinted otherwise: <html></html> source <b>goes</b> "here".


js
var a = 3;
while (not (a > 0)) {
}


2. Or:

• Create code blocks in any way (using the fence notation above, the four-space indent form, or using HTML <pre><code> tags).

• Use your browser's developer tools to edit the resulting HTML. To open developer tools, press F12, or ⌥⌘ I on Mac.

• Find the <pre> element and add the attribute class="prettyprint", or change it into one of the valid syntax hints linked above, like class="lang-vb prettyprint".

• Run the following in the location bar: javascript:prettyPrint(); or prettyPrint() in the console.

Answers that are considered annoying or obnoxious, or that cause breakage for users, will be deleted. This is codified as a policy as of March 29, 2018.

• Bold code block.Italic code block. – smileycreations15 Mar 4 '19 at 12:36
• Is new line working correct? Adding two spaces at the end of this line And now the new line... And another another... No new lines :( – smajli Mar 5 '19 at 11:14
• New line </br> continue in new line... – smajli Mar 5 '19 at 11:16
• – Alex Mar 17 '19 at 2:35
• Do HTML &quot; entities &quot; work&nbsp;? Guess not. – a mask-wearing arachnid Apr 1 '19 at 22:18
• A comment with some weird markdown, to test and help this user. Look tags work too, and so does tour. – Bhargav Rao Apr 6 '19 at 1:59
• Note: Do not remove @BhargavRao's comment, or you will break this answer – wizzwizz4 Apr 6 '19 at 17:16
• @BhargavRao When sandbox answers are moved to the archive, comments such as this one -- on the question itself -- aren't migrated; they're deleted. – rgettman Apr 9 '19 at 19:37
• @rgettman, yeah, that is fine. I had used it for just a small demonstration. The linked answer itself is self-sufficient. Thanks anyway. – Bhargav Rao Apr 9 '19 at 20:22
• @BringBackThePolyglot Do you get notifications if I reply to your comment and then delete your comment before you visit the site? (for those wondering how I can single-handedly delete someone else's comment, comments containing "thanks" are automatically deleted as soon as someone flags them) – Donald Duck Apr 25 '19 at 16:32
• @DonaldDuck Yes, I got notified. – Bring Back The Polyglot Apr 25 '19 at 16:32
• honestly the over 500 hundred upvotes for a sandbox post is taking this real time satire thing you guess do with rep points too far – Adam May 7 '19 at 11:14
• It makes me feel like doing one too like an onion announcing the Debian contributor community have been assigned complete authority and trust over all encryption matters for the central banks of the world but no, im an adult, I can show restrain – Adam May 7 '19 at 11:16
• no I'm seriously asking now, what does op mean when someone causes a user "breakage"? is that like the time I was not allowed to take the archer profile pic down for like 6 months? that did break me tbh – Adam May 7 '19 at 11:22
• ‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮⁯‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮⁯‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮⁯‬‭‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮⁯‬‭‮ Such an odd comment...‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‮‭‬⁮‭‭⁪⁯‬ ‭⁭⁫⁪⁬⁯‮‬⁪⁫⁬⁭⁮‬⁯⁪⁪⁪⁪⁭⁮⁯ ‬⁪⁪⁫⁬⁭⁮⁯‬‭‮‬ – mindstormsboi Jun 18 at 1:16

Testing code snippet

<!doctype html>
<html>
<title>HTML Test</title>
<script type="text/javascript">
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
for (var i = 42; --i >= 0;) {
}
}
</script>
<style type="text/css">
p { color: pink }
b { color: blue }
u { color: "umber" }
</style>
<body>
<h1>Hello world!</h1>
</body>
</html>

# Link just after a special character

REFERENCE:https://meta.stackexchange.com/a/349611/771581

REFERENCE;https://meta.stackexchange.com/a/349611/771581

REFERENCE[https://meta.stackexchange.com/a/349611/771581

REFERENCE%https://meta.stackexchange.com/a/349611/771581

REFERENCE-https://meta.stackexchange.com/a/349611/771581

REFERENCE#https://meta.stackexchange.com/a/349611/771581

REFERENCE&https://meta.stackexchange.com/a/349611/771581

REFERENCE>https://meta.stackexchange.com/a/349611/771581

(Now see the above links in edit preview.)

# Link separated from the special character by a space

Also, this bug seems to be specific with a special character.: REFERENCEhttps://meta.stackexchange.com/a/349611/771581

Test

Test

• Test of what? What is the intent? – P.Mort. - forgot Clay Shirky_q Sep 18 at 16:09
• @P.Mort. I was testing if and how zero-character links in Markdown show up in the rendered HTML. – NobodyNada Sep 18 at 17:58

Preview:

Post:

list?

## d

Well, there’s table support now, so…

## Markdown

Minimal Markdown of a table, working both in the preview and the post:

||
|-|


Minimal Markdown of a table, working in the preview, but not in the post:

|
-


## |

Minimal Markdown of a table, working in the post, but not in the preview:

||
||


These Markdown snippets don’t render at all in a post, but still produce tables in the preview:

|
-|

|
|-|


This Markdown doesn’t render at all in a post, and doesn’t produce a table in the preview:

|
||


## Backslashes, HTML, other random stuff

test|ßßß\ẞ|
\
\|
|-
>!Spoilers not supported…?

## Line Separator and Paragraph Separator

These don’t seem to separate table rows.

## Stack Snippets

When editing, the “edit the above snippet” link appears inside the table header.

sdf
console.log();
Test
sdf
sdfsdf
sdfsdf sdf
console.log();
Test
sdf
• There are significant rendering differences between the preview and the final post: see the screenshot of the editing preview. Several minimal Markdown samples behave completely differently, and backslashes are handled completely differently. – user289905 Nov 24 at 18:30

• @MikeM. please don't hijack random post, even in sandbox. It cause inbox message to be sent, which some people consider as noise. Post your own answer and test comments as much as you want under that answer. Thanks. – Shadow 10 Years Wizard Apr 11 '19 at 14:17
• @ShadowWizard That's totally my bad. I didn't think anybody got pinged on community wiki. I meant to immediately delete that anyway. My apologies. – Mike M. Apr 11 '19 at 14:19
• @MikeM. now post an apology for the second one 😅 – vlad_tepesch Apr 11 '19 at 14:26
• @ShadowWizard you too for the now first one 🤣 – vlad_tepesch Apr 11 '19 at 14:27

I’m testing hyphens ("HYPHEN MINUS") on iOS 12. Specifically, typing multiple hyphens into the edit box. Typing 2 hyphens together results in a single "EM DASH".

Related question on the Ask Different Stack:
How do I type a hyphen in iOS 12?

The text in parentheses describes the resulting string after typing N hyphens.

Below this line is a single “hyphen” (HYPHEN)

-

Below this are 2 hyphens (EM DASH)

And 3 hyphens (EM DASH + HYPHEN)

—-

Four hyphens (EM DASH + EM DASH)

——

-—

Five hyphens (EM DASH + EM DASH + HYPHEN)

——-

Long press and second character (EN DASH)

Long press and third character (EM DASH)

Copy/paste

Hello -

• (BULLET - Long press and first character)

Saying "hyphen hyphen hyphen hyphen" results in 4 contiguous hyphens

Saying "dash" results in an "EN DASH" and "dash dash dash dash" results in 4 x "EN DASH + SPACE" (not contiguous).

– – – –

alert("This snippet is for testing/comparing CSS sizing units:\n\t\tvh, vw, vmin,vmax, compared to %,\n  ...and seeing whether they work in SO snippets...\n\t\t\tThe answer is \"kinda\", LOL\n\t\t(Resize your browser window to try.)"); 
<head>
<style>
* { box-sizing: border-box; }
</style>
<body>
<div style="position:fixed; width:100%; height:100%; left:0; right:0; top:0; bottom:0; border:15px solid green;">
My 100% &times; 100% div<br>

<div style="position:fixed; width:50%; height:50%; left:25%; top:25%; border:15px solid red; text-align:left;color:red; font-size:5vmax;">
My 50% &times; 50% div
<br>(font-size:5vmax)
</div>

<div style="position:fixed; left:25vw; top:25vh; width:50vw; height:50vh;  border:15px dashed blue;text-align:right;color:blue; font-size:5vmin;">
My 50vw &times; 50vh div
<br>(font-size:5vmin)
</div>

<div style="position:fixed; bottom:15px; right:15px;">
<a href="https://web-design-weekly.com/viewport-units-vw-vh-vmin-vmax/">More on viewport units</a>
</div>
</div>
</body>

blockquote

4 spaces
8 spaces


test

    8 spaces


text test

<b>dsadas</b>

While not hinted otherwise: <html></html> source <b>goes</b> "here".

While not hinted otherwise: <html></html> source <b>goes</b> "here".

• I want to try the community shortcuts - [Mathematics] [Mathematics] - [Math] [Math] - Mathematics [Mathematics.SE] - Mathematics [Math.SE] – John Alexiou Apr 30 at 14:02

or so
you claim

Do they look the same?

 Aa - sum(q * r)

 Aa - sum(q * r)

Aa - sum(q * r)

Aa - sum(q * r)

Aa - sum(q * r)

Aa - sum(q * r)


Aa - sum(q * r)

Should they look the same?

Testing some formatting

Below are some formatting tests within an answer...

Sample blockquote info

code block


Blue Prism

sample code snippet

// init webrequest
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
webRequest.Method = "POST";
webRequest.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
webRequest.ContentType = "application/x-www-form-urlencoded";
webRequest.ContentLength = bytes.Length;


Testing image links for images that really don't need an 'open in new tab' link on hover.

[![enter image description here][1]][1]

vs
![enter image description here][1]

& for MM…

![TITLE: REPORT TITLE][2]
[2]: https://i.stack.imgur.com/HbbYw.png

just testing a url with square brackets and spaces

[http://&lsqb;IP Address here&rsqb;/service/health](http://&lsqb;IP%20Address%20here&rsqb;/service/health)

[http://&lsqb;IP Address here&rsqb;/service/health][1]
[1]: http://&lsqb;IP%20Address%20here&rsqb;/service/health

This is a test to see if I can trigger a potential bug with multi-paged questions and new answers.

Nothing to see here, move along (~^w^)~

I am experimenting with runnable snippets.

.inner {
margin-bottom: 1rem;
}

.inner::before {
content: "I'm before inner!";
display: block;
}
<div class="outer">
<div class="inner">Inner 1</div>

<div class="inner">Inner 2</div>
</div>

Testing. Ok.

Does LaTeX formatting work? Let me test.

$\binom{20}{2} \cdot (\frac{1}{10})^2 \cdot (\frac{9}{10})^{18} \approx 28.518%$

Cool! It does! Ok

The diff is informative; it will not apply directly because this site mangles tabs and whitespaces

BET

--- drivers/usb/class/cdc-acm.c~
+++ drivers/usb/class/cdc-acm.c
@@ -1063,7 +1063,7 @@
}

static const struct tty_port_operations acm_port_ops = {
-   .dtr_rts = acm_port_dtr_rts,
+   /* .dtr_rts = acm_port_dtr_rts, */
.shutdown = acm_port_shutdown,
.activate = acm_port_activate,
.destruct = acm_port_destruct,


ETA: nvm I'm rekt

feel free for anyone to commandeer this answer if your rep is too low for the sandbox

Testing possible issues with the revision history for good measure (Thank you for enabling YouTube embedding!):

iframe:

Script:

Video raw:

Video iframe:

This is a code fence test.

New code


## Yay! We just get to messAround

22 = 4 (unless we're talkin' common core)

• List

Unindented snippet

• List

Indented snippet

Continuing list's indent level... Things written here fail to render correctly in the preview (show up as code block), but works when posted... Try it by clicking edit

I suspect that it's because of the edit above snippet button

A new list?

1. This.
2. That.

This is a test of commonmark blockquote

One level

Two Levels

Three Levels

Four levels

WE MUST GO DEEPER! (Seeing if quote levels are cumulative)

<!doctype html>
<html>
<title>HTML Test</title>
<script type="text/javascript">
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
for (var i = 42; --i >= 0;) {
}
}
</script>
<style type="text/css">
p { color: pink }
b { color: blue }
u { color: "umber" }
</style>
<body>
<h1>Hello world!</h1>
</body>
</html>


## Testing whether a formatting bug was removed by CommonMark (Success?)

### Before CommonMark:

Notably there is no white space or gap between "commodo consequat" and "Duis aute".

### After CommonMark (if spaces and > are added):

• Lorem ipsum dolor sit amet, consectetur adipiscing 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. [Yuck! This is the problem!]

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

## Testing whether a formatting bug was removed by CommonMark (Success?)

### Before CommonMark:

> 
# test


Displayed as:

# test

## Testing whether a formatting bug was removed by CommonMark (Success?)

### After CommonMark:

[link1](https://example.com/q="one") properly becomes link1, which points to the URL https://example.com/q="one".

[link_uno](https://example.com/q="uno"&true=true "Link numero uno") properly becomes link_uno with a title of Link numero uno.

I don't understand the "last" problem

• [Link with hint](https://example.com/page "URL: https://example.com/")
• <a href="https://example.com/page" title="URL: https://example.com/">Link with hint 2</a>

Properly(?) renders as:

## Testing whether a formatting bug was removed by CommonMark (Success?)

### Before CommonMark:

1. Testing a strange bug:
- 
testing something



Displayed as:

### After CommonMark:

1. Testing a strange bug:
• testing something


## Testing whether a formatting bug was removed by CommonMark (???)

### Before CommonMark:

[wolfram alpha](https://www.wolframalpha.com/input/?i=sum+from+k%3D3+to+v+of+(v%5E2+%2F+2)+%2F+((v-k)%5E2+*+k)


Displayed correctly in the editor and incorrectly in the actual post

### After CommonMark:

The url [wolfram alpha](https://www.wolframalpha.com/input/?i=sum+from+k%3D3+to+v+of+(v%5E2+%2F+2)+%2F+((v-k)%5E2+*+k) displays incorrectly in both the editor and the actual post.

Adding a parenthesis at the end of the link though, makes it appear correctly in both the editor and the post: wolfram alpha

Can I undelete an answer myself if it was deleted via Recommend deletion votes from review?

This is testing for undeletion when a post is deleted with

Review ends with 4/6 recommend deletion votes and none of them was cast by a trusted user.

Anyone, feel free to flag this as NAA or VLQ.

Non-trusted users only (below 20k rep), feel free to recommend to delete this post~

Moderator, consider replying if you get any mod flag?

• I flagged as NAA – Dharman Jun 19 at 10:33
• Undeleted myself, waiting for mod's response if they get any flag or not. – Meta Andrew T. Jun 19 at 12:21
• @MetaAndrewT. Even have a link for you: meta.stackexchange.com/a/228479/369802 You get a disputed low quality review auto flag. I have three now ;) – Tinkeringbell Jun 19 at 12:30
• Other links that may interest you: meta.stackexchange.com/q/311536/369802. Basically, only mod-deleted answers are 'permanently' deleted. If an answer or question is mod-deleted, the community can't vote to undelete it, and neither can the OP of a post :) – Tinkeringbell Jun 19 at 12:32
• @Tinkeringbell thanks! Really appreciated for contributing to science :) – Meta Andrew T. Jun 19 at 12:35
• Well, then you're really going to enjoy my final trick! presses delete :P – Tinkeringbell Jun 19 at 12:36

Can I undelete an answer myself if it was deleted via Recommend deletion votes from review?

This is testing for undeletion when a post is deleted with

Review ends with a mix of 1 or 2 delete votes and recommend deletion votes.

Anyone, feel free to flag this as NAA or VLQ.

Anyone is also free to recommend to delete this post~

(Trusted users (20k rep): consider commenting after recommending to delete this post, so that other trusted users can skip it..?)

Moderator, consider replying if you get any mod flag?

• I flagged as NAA – Dharman Jun 19 at 10:33
• I'm going to click the Delete button from the review queue – Glorfindel Jun 19 at 11:06
• – Dharman Jun 19 at 11:11
• Undeleted myself, waiting for mod's response if they get any flag or not. – Meta Andrew T. Jun 19 at 12:21
• Yep, flag on this one too :) – Tinkeringbell Jun 19 at 12:34
• If you delete this one then it will only need two votes to undelete – Dharman Jun 19 at 12:36

emphasized text
emphasized text
_this_is_a_Filename.doc
this_is_a_second_filename.doc

Rough markdown of this post:

*emphasized text* <br>
_emphasized text_ <br>
_this_is_a_Filename.doc <br>
_this_is_a_second_filename_.doc <br>
`