557

Note: 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.


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 100 reputation to edit)
  • post answers to this question (This question might be protected, requiring earning 10 reputation on this site to answer)
  • post comments to this question or its answers
  • 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)) {
        alert("JavaScript code <b>goes</b> here.");
    }
    ```
    
    1. (The traditional way) On the start of a line, specify a language inline using <!-- language: lang --> hints, and indent the code 4 spaces as usual. There is a full list of hints (scroll down a little).

    <!-- language: lang-html -->
    
        While not hinted otherwise: <html></html> source <b>goes</b> "here".
    
    <!-- language: lang-js -->
    
        var a = 3;
        while (not (a > 0)) {
            alert("JavaScript code <b>goes</b> here.");
        }
    
    1. Or:
  • Create code blocks in either way (see above).

  • Save your post.

  • 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 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 at 11:14
  • New line </br> continue in new line... – smajli Mar 5 at 11:16
  • Do HTML &quot; entities &quot; work&nbsp;? Guess not. – a wizard arachnid Apr 1 at 22:18
  • 3
    A comment with some weird markdown, to test and help this user. Look tags work too, and so does tour. – Bhargav Rao Apr 6 at 1:59
  • 2
    Note: Do not remove @BhargavRao's comment, or you will break this answer – wizzwizz4 Apr 6 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 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 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 at 16:32
  • @DonaldDuck Yes, I got notified. – Bring Back The Polyglot Apr 25 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 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 at 11:16
  • thanks thanks thanks – Adam May 7 at 11:17
  • 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 at 11:22

43 Answers 43

1

https:// https://aaa http:// http://aaa

aaaaa:// aaaaa://aaa aaaaa://google.com

google.com https://google.com http://google.com

google.com https://google.com http://google.com

google.com https://google.com http://google.com

(That’s a oneboxing test)

profile for Stormblessed at Politics Stack Exchange, Q&A for people interested in governments, policies, and political processes

profile for Stormblessed at Politics Stack Exchange, Q&A for people interested in governments, policies, and political processes

Community! I am writing a bunch of words so this doesn't become a comment because that would suck. Here, look at my link over there and read these words

with some line breaks

and formatting

and then

please fix my link:

I am become HTTPS, securer of worlds!

  • Ugh this got converted to a comment three times and I didn't notice. – anon Jul 6 at 19:00
  • test this is not edited – anon Aug 4 at 14:52
1

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

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

enter image description here

vs
![enter image description here][1]

enter image description here

& for MM…

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

review image

1

Test with images and spaces

placeholder

  • Is there a bug here? – anon May 5 at 15:40
  • I see no problem with the mobile Wikipedia link. – anon Jun 5 at 1:00
  • 1
    This is a sandbox post, it doesn't need to make sense. Really, there's absolutely nothing to see here :) – Glorfindel Jun 5 at 5:09
  • hmm.... adding one word gave me 4% contribution. Interesting. Would love to see the source code calculating that percentage... – Shadow The Princess Wizard Jul 17 at 8:50
  • I'm sorry if I mess up your testing - I was doing another test right now. – Glorfindel Jul 17 at 8:56
  • All good! Now I'm down to 3% lol. If I may ask, what are you testing? ;) – Shadow The Princess Wizard Jul 17 at 8:58
  • A vandalism reverter ... – Glorfindel Jul 17 at 9:02
  • You know you can add summary to a rollback, right? (Since it looks like that's what you try to do? :)) – Shadow The Princess Wizard Jul 17 at 9:06
  • Yeah, that too :) – Glorfindel Jul 17 at 9:10
0

just a test

  • @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 The Princess Wizard Apr 11 at 14:17
  • 1
    @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 at 14:19
  • 2
    @MikeM. now post an apology for the second one 😅 – vlad_tepesch Apr 11 at 14:26
  • 3
    @ShadowWizard you too for the now first one 🤣 – vlad_tepesch Apr 11 at 14:27
0

Placeholder 4️⃣ some tests…

🆄 🥫 edit this @ w➕🤒…

0

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://[IP Address here]/service/health

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

http://[IP Address here]/service/health

0

when i run this program it giving me only none

Var code = too much

this is a lot of code

help I'm stuck in a codeblock

aaaah

codeeeeeeee

CODE
Lots of code


Lots and lots
Var code = too much

this is a lot of code

help I'm stuck in a codeblock

aaaah

codeeeeeeee

CODE
Lots of code

Var code = too much

this is a lot of code

help I'm stuck in a codeblock

aaaah

codeeeeeeee

I edit in MOOOOOORE COOOOOOOODE

CODE
Lots of code
  • @ankii seeing if I get the warning that it’s mostly code (see here). – anon Sep 15 at 16:31
  • [mre] does this work (typed [mre]) – anon Sep 22 at 5:13
  • 1
    @ankii oh that pinged you :P? – anon Sep 22 at 5:15
0

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^)~

0

this post is so not by Stormblessed it’s just incredible how written-by-a-different-person it is (this is going to be for a bug report)

Hi this is a person who is very non-blessed-by-the-storms.

0

test post please ignore 30 characters

test edit

  • test comment asdfasdf – user1306322 Oct 30 at 11:59
0

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>

0

I am trying my hand at VFX/CGI so I need to use blender to render objects to composite into live-action footage in After Effects. This requires me to separate passes and render shadows and gloss etc. separately from the object.

I have tried adding a diamond ore block to a still image of my table just as a proof of concept, but cannot figure out how to render the passes properly.

The method I tried is as follows:

Step 1

I created and textured my object and put it on view layer 1 along with the lights in the scene.

Step 2

I modeled the scene using planes for realistic lighting, textured them similar to my real-life walls and table, and put it on view layer 2.

my table and surrounding walls

Step 3

In view layer one, I set the walls to be use indirect only and in view layer 2, the object is also set to use indirect only.

Step 4

I set up the nodes following this video.

Now when I do the final render, the reflection of my lights appears on the table plane and the table plane basically fully messes up the multi-pass render.

Here's what I mean

viewlayer 2 GlossInd pass

As you can see, the table plane's reflections also shows up in the render whereas all I want is the actual reflection. With the current image, I can't comp that in because the colors are not right.

So is there any way to render the gloss, shadows etc. without rendering the plane of the table?

-3

ז̗̮͉̕ל̀ג̤͍ו̨̳ ̜͓͓͙מ̳͉͓̬̰̕ד̣̳̪̥̘̟ב̪̀ר̫͖͉̤ ע̗͜ב҉רית̫̠̜͈͇̀! ͖͚̤͡ה͍̥͖̬ו̮̲̮̙̹͇̗א̣̰͈̹ ̖͉ב͖̥̦̲̕א̺̮̺!̫̗͎̺̝̟͞

You must log in to answer this question.

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