Sandbox: Difference between revisions
Content added Content deleted
(ββpre test: works without explicit width, too) |
(Testing some new language tags) |
||
Line 49: | Line 49: | ||
21 |
21 |
||
</pre> |
</pre> |
||
==Testing new language tags== |
|||
===Z80=== |
|||
<z80> |
|||
; some random instructions |
|||
ld a, 80h |
|||
ld b, 9Ah |
|||
add a, b |
|||
adc a, a |
|||
rst 0 ; reboot :-) |
|||
</z80> |
|||
===Whitespace=== |
|||
<whitespace> |
|||
This may not be a meaningful whitespace |
|||
program, |
|||
but it's |
|||
just a highlighting test |
|||
anyway. |
|||
</whitespace> |
|||
===AviSynth=== |
|||
<avisynth> |
|||
AviSource("D:\clip.avi") |
|||
ConvertToYUY2() |
|||
PixieDust(5) |
|||
</avisynth> |
|||
===POV-Ray=== |
|||
<povray> |
|||
#declare factorial = function(C) { prod(i, 1, C, i) } |
|||
#declare A = factorial(5); |
|||
sphere{0,A} // a sphere |
|||
</povray> |
|||
===Text=== |
|||
<text> |
|||
Is this actually a programming language, or really just plain text? |
|||
</text> |
Revision as of 08:03, 23 January 2009
TITLE
yup...it's code
TITLE
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
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
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
<z80>
- some random instructions
ld a, 80h ld b, 9Ah add a, b adc a, a rst 0 ; reboot :-)
</z80>
Whitespace
<whitespace> This may not be a meaningful whitespace
program,
but it's just a highlighting test anyway. </whitespace>
AviSynth
<avisynth> AviSource("D:\clip.avi") ConvertToYUY2() PixieDust(5) </avisynth>
POV-Ray
<povray>
- declare factorial = function(C) { prod(i, 1, C, i) }
- declare A = factorial(5);
sphere{0,A} // a sphere </povray>
Text
<text> Is this actually a programming language, or really just plain text? </text>