Sandbox: Difference between revisions

From Rosetta Code
Content added Content deleted
m (testing div boxes and edit links)
m (Don't want this in the task category)
Line 1: Line 1:
<div class="infobox" style="width: 2in">
{{task}}
<big>'''Programming Task'''</big><br />
{{task}}
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.
{{task}}

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
<div class="infobox" style="width: 2in">
<big>'''Programming Task'''</big><br />
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
<div class="infobox" style="width: 2in">
<big>'''Programming Task'''</big><br />
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
== Can you use a data URL? ==
== Can you use a data URL? ==


Line 9: Line 24:
{{Category:Maintenance}}
{{Category:Maintenance}}
-- Okay, the member list doesn't show up. No good.
-- Okay, the member list doesn't show up. No good.
<div class="infobox" style="width: 2in">
{{task}}
<big>'''Programming Task'''</big><br />
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
==TITLE==
==TITLE==
yup...it's code
yup...it's code
Line 22: Line 42:
doesn't really work this way
doesn't really work this way
==TITLE==
==TITLE==
<div class="infobox" style="width: 2in">
{{task}}
<big>'''Programming Task'''</big><br />
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
<span id="Test"></span>
<span id="Test"></span>
===Iterative===
===Iterative===
Line 37: Line 62:
----
----
== pre test ==
== pre test ==
<div class="infobox" style="width: 2in">
{{task}}
<big>'''Programming Task'''</big><br />
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing [[Help:Example_Programming_Example|prototypes]].{{proggit}}
</div>
<pre style="height:30ex;overflow:scroll">
<pre style="height:30ex;overflow:scroll">
Test
Test

Revision as of 17:55, 11 July 2009

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>

Can you use a data URL?

[data:text/html,Hello%20World No.]

What if you transclude a category?

Follow the articles and subcategories for items requiring maintenance. -- Okay, the member list doesn't show up. No good.

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>

TITLE

yup...it's code

TEETLE

Your Other Library Here

coding it up here boss

TITLE

Your Library Here

Iterative

OMG teh code!

Recursive

doesn't really work this way

TITLE

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>

Iterative

Your Library Here

some code

Recursive

Yet Another Library Here

more code

Still Another Library Here

this isn't code, though

TITLE

code

pre test

Programming Task
This is a programming task. It lays out a problem which Rosetta Code users are encouraged to solve, using languages they know.

Code examples should be formatted along the lines of one of the existing prototypes.
<reddit programming/>
Test
Another line
Yet another line, this time one which clearly is much longer than the width of the browser window, at least assuming normal screen dimensions and font settings, and assuming the browser window is not wider than the screen (which would be impractical anyway).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

Testing new language tags

Z80

<lang z80>

some random instructions
 ld a, 80h
 ld b, 9Ah
 add a, b
 adc a, a
 rst 0 ; reboot :-)

</lang>

Whitespace

<lang whitespace> This may not be a meaningful whitespace

 program,

but it's just a highlighting test anyway. </lang>

AviSynth

<lang avisynth> AviSource("D:\clip.avi") ConvertToYUY2() PixieDust(5) </lang>

POV-Ray

<lang povray>

  1. declare factorial = function(C) { prod(i, 1, C, i) }
  2. declare A = factorial(5);

sphere{0,A} // a sphere </lang>

Text

<lang text> Is this actually a programming language, or really just plain text? </lang>

What happens if a language doesn't exist?

<lang somelanguagethatdoesnotexist> some code more code;

  • a b -> c /// &a1 ->>> 778

(Probably this is an obfuscated language :-)) </lang>

===Do the old language-free <tt>-Tags (for inline code formatting) still work? The variable foo is of type bar

Whitespace test with unicode ZERO WIDTH NO-BREAK SPACE character (U+FEFF)

<lang whitespace>



</lang>