0
votes

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

623 Answers 623

1
11 12
13
14 15
21
0
votes

i wrote sending email function that only work my debug mode(debug local server) when i publishing and hosting C# code that function not work. this my email configuration function

1
  • the code doesn't show!??
    – gideon
    Mar 25, 2011 at 3:33
0
votes

Backticks.

How about some backticks ``?

VARIABLE=`ls`
0
votes

Intraword italics formatting

  • SID: S-1-5-21 domain-512

  • SID: S-1-5-21domain-512

  • SID: S-1-5-21\sdomain-512

  • SID: S-1-5-21domain-512. SID: S-1-5-21<em>domain</em>-512

Leads:

0
votes

$$ \begin(equation} \chi(M_g) = 2-2g \end{equation} $$

1
  • Can't Jax off here.
    – user1228
    Apr 12, 2011 at 13:24
0
votes
Select * from Foo where Foo.bar == "baz"
3
  • You know you need a blank line before a code block, as per the regular Markdown specs?
    – Arjan
    May 9, 2011 at 14:27
  • @Arjan: The specs aren't clear. I know now, thx.
    – user1228
    May 9, 2011 at 16:12
  • Hopefully the FAQ is clear though? If not, then you know what to do ;-) See How do I format my code blocks?
    – Arjan
    May 10, 2011 at 6:42
0
votes

Syntax highlighting test

<!-- language: lang-bsh -->

# Catch obstrusive tracking parameters like ...
# ?utm_source=twitterfeed&utm_medium=twitter or
# ?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+wdrss+(WDRSS)
# ... because they generate doubled content.
RewriteCond %{QUERY_STRING} utm_source= [NC,OR]
# Some people put their own URIs into this parameter. May be better banned.
RewriteCond %{QUERY_STRING} ^p=\D
# The trailing question mark removes the query string.
RewriteRule (.*) /$1? [L,R=301]
0
0
votes

This is a comment formatting test.

1
0
votes

Inline editing test!

....................

0
votes

Not formatting, but converting answer to comment.

1
  • This should be a comment. Did you see this Chris?
    – Kev
    Jul 13, 2011 at 11:16
0
votes

Whoa, look at this crazy empty blockquote!

 
 
 
 

Which isn't even remotely as crazy as this one:

­
­
­
­
­

;-)

1
0
votes

Could you tell that this wasn't just an empty blockquote before you hovered?
Etc,
etc,
etc.

3
  • Sure, on a mobile device that's very obvious!
    – Arjan
    Aug 26, 2011 at 20:03
  • What does a mobile device show?
    – Daniel
    Aug 26, 2011 at 20:05
  • Click the link "mobile" in the footer. Or, spoiler.
    – Arjan
    Aug 26, 2011 at 20:07
0
votes

Testing non breakable spaces in answers.

2
  • Testing non breakable spaces in comments.
    – Benjol
    Sep 2, 2011 at 5:35
  • qnother test here, I think I've finished.
    – Benjol
    Sep 2, 2011 at 6:13
0
votes

Testing the revision history when a tag is removed from the end of a post:

1
  • rtutyjhnfdgbnstygkteuketm
    – Brad
    Nov 16, 2012 at 19:19
0
votes

formatting test test test

0
votes

Wondering if an anchor link to an answer works...doesn't look like it.

0
votes

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi ullamcorper, eros ut faucibus dapibus, nibh nunc lacinia ligula, et sagittis nibh lorem at purus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Praesent scelerisque turpis nec eros luctus fringilla. Curabitur vitae lacus a sem posuere sollicitudin in at sapien.

  • Sed ac augue sapien, varius congue dolor.
  • Aliquam at enim eget purus gravida faucibus vitae et justo.
  • In et mauris ac dolor consectetur blandit.
  • Pellentesque aliquam vehicula felis, nec eleifend turpis tincidunt id.

Nunc laoreet lectus tempor massa tempus bibendum. Suspendisse potenti. Nunc euismod, dolor vitae pharetra dictum, justo nisi dignissim lectus, elementum ornare quam felis eget turpis. Praesent vel felis eget eros scelerisque condimentum. Suspendisse eu elit id turpis dictum imperdiet. In hac habitasse platea dictumst. Duis tempor ligula eu enim suscipit vitae pulvinar dui cursus.

3
  • Sed ultrices urna magna, sit amet convallis elit.
    – Zoredache
    Oct 12, 2011 at 23:41
  • Aliquam eleifend turpis mollis arcu congue eu tincidunt lectus varius.
    – Zoredache
    Oct 12, 2011 at 23:41
  • How do I love thee? Let me count the ways Dec 22, 2011 at 0:06
0
votes
<!-- language: lang-java -->

import java.util.ArrayList;
import java.util.Collection;
import java.util.Stack;

public class FlushStack<E> extends Stack<E> {

    public Collection<E> get() {
        ArrayList<E> elements = new ArrayList<E>();
        elements.addAll(this);
        this.clear();
        return elements;
    }

}
0
votes
alert("testing .how to escape tags such as script")


I herefor occupy this answer in the name of Good! Now get off my answer!

[Cool Hyperlink]1

Cool Hyperlink

1
0
votes

Testing <pre><code>some-code here\n</code></pre> against some Markdown-formatted code:

<input type="checkbox" name="applyChanges" />

This time with a line break after the <pre>:

<input type="checkbox" name="applyChanges" />

Now for the Markdown formatting:

<input type="checkbox" name="applyChanges" />
0
votes

Pac-man goes wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka­wokka

Soft hyphens aren't apparent because StackOverflow is fixed-width. You can see them better here.

You can't visit h​ttp://www.goo​gle.com/. Not even by copying and pasting.

0
votes

Adding comments with inline customized links, with parens and spaces in them.

2
0
votes

[programmers.se] [so] [su] [sf]

2
0
votes

There should be syntax highlighting here.

SELECT something FROM somewhere WHERE this = that
3
  • Gotta be directly above the code block to work.
    – Shog9
    Feb 24, 2012 at 3:30
  • @Shog9 That doesn't work either, as you can see.
    – kba
    Feb 24, 2012 at 3:31
  • Needs a line above it too (see edit). Yeah, a bit finicky...
    – Shog9
    Feb 24, 2012 at 3:34
0
votes

How to escape backslashes.

Use whitespace:

\\

This is a backslash in a sentence (one backslash): \

This is an escaped backslash in a sentence (two backslashes OOPS): \

This is an escaped backslash in a sentence: \\ (three backslashes).

Same thing with backticks. This is backtick backslash backslash backtick: \\

This is a backtick backslash backtick \.

Here is a real backslashed backtick: `

1
  • test ← `test`
    – user153011
    Feb 16, 2011 at 12:51
0
votes

I'm testing inbox notifications. If you comment on this, you will receive one (1) vial of virtual unicorn horn dust (no actual unicorns will be harmed).

6
  • 2
    SHUT UP AND TAKE MY MONEY
    – Yi Jiang
    Feb 28, 2012 at 7:41
  • 1
    So then this is artificial virtual unicorn horn dust?
    – animuson StaffMod
    Feb 28, 2012 at 7:48
  • Does this coupon have an expiration date?
    – user7116
    May 8, 2012 at 14:35
  • No. However, every time I distribute a vial of virtual unicorn horn dust, it's diluted 10x more than the previous one. There's only a finite amount of this stuff, after all. May 8, 2012 at 19:39
  • i like unicorns o.o
    – ajax333221
    Jul 18, 2012 at 1:32
  • ​​​​​​​​​​​​​​​:D
    – Doorknob
    Jun 21, 2013 at 21:38
0
votes

{{Unreferenced}}

I am so smart! I am so smart! S-M-R-T!

1
0
votes
if (isset($item['load_functions'][1]) && !empty($item['map'][2]) && $item['load_functions'][3] == 'node_load') {
  $node = $router_item['map'][4];
}
else {
  // The menu item is not for a node.
}

menu_get_object()

menu_get_item()

0
0
votes

test. to see, if the spaces: removed! are? visible/ without the' show mark- down differences'

2nd test to see if I can edit a deleted ans

0
0
votes

uhm..why _italic_does_not_work_when_I_use_the_underscore_ ?

How about

  1. foo[bar + 1]
  2. foo[bar + 1]
  3. *foo[bar + 1]
5
  • but works_in_the_comment? Jan 24, 2011 at 21:43
  • markdown iz bugged Jan 27, 2011 at 13:53
  • it probably has something to do with the fact that underscoring around a word also italicizes it.
    – Justin L.
    Jan 29, 2011 at 21:26
  • test_one testtwo* test_three (Original: *test_one* *test*two* _test_three_)
    – user153011
    Jan 30, 2011 at 12:37
  • 1
    There is a reason for this, fwiw. meta.stackexchange.com/questions/116986/…
    – jcolebrand
    Jan 10, 2012 at 16:01
1
11 12
13
14 15
21

You must log in to answer this question.

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