User:Pfriedma
Jump to navigation
Jump to search
Test of Parser Extension
Monday 17:38
2023 09 04
Math Extension
Test of Syntax Highlighting Extension
PHP
<?php
$v = "string_test"; // sample initialization
?>
html text
<?
echo $v; // end of php code
?>
Ruby
#!/usr/bin/ruby
def testFunction(list)
#Make each element 'angry'
return list.map!{|x| x.capitalize! + "!" }
end
hello = ["hello", "world"]
# prints "HELLO! WORLD!"
puts testFunction(hello)
C
#include <stdio.h>
int main(void)
{
printf("Hello World\n");
return 0;
}
Test of the Cite Extension
According to scientists, the Sun is pretty big.[1] The Moon[2], however, is not so big.[3]