User:Pfriedma

From Public Wiki
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]


Notes

  1. E. Miller, The Sun, (New York: Academic Press, 2005), 23-5.
  2. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.
  3. R. Smith, "Size of the Moon", Scientific American, 46 (April 1978): 44-6.