Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Spoiler tags are used to hide text unless hovered over. They are done by starting lines with '>! '.
17
votes
Accepted
Formatted code block within spoiler tag?
While I'm unclear how useful this would be, you can wrap the code in <pre><code>...</code></pre> blocks, such as:
>! <pre><code>if True:
>! print "Hello World"</code></pre>
Which produces:
It w …