Difference between revisions of "Sandbox"
Chris Tyler (talk | contribs) |
|||
Line 55: | Line 55: | ||
Foo bar baz | Foo bar baz | ||
− | == | + | == Code Blocks == |
+ | |||
+ | Including a <code>command or filepath</code> in a block of text. | ||
+ | |||
+ | A block of code: <!-- Indent each line one space --> | ||
+ | |||
+ | #!/bin/bash | ||
+ | for X in {1..10} | ||
+ | do | ||
+ | '''echo $X''' # Note that you can still use attributes such as bold in a code block | ||
+ | done | ||
+ | |||
== Regular Tables == | == Regular Tables == |
Revision as of 16:48, 10 April 2011
This page is for experimenting with wiki markup. Hit the "edit" or "view source" button to see the markup for the text; feel free to add and experiment with text on this page.
Here is a link to a page on this wiki: People
Here is a link with a different description: List of people involved in Open Source at Seneca
Here is link to a website: [1] - note the numbered references [2]
Here is a link to a website: http://fedoraproject.org
Here is a link to a secure website (https): https://my.senecacollege.ca
Here is a website link with description: Fedora Project
Here is a link to a page on the Fedora wiki: fedora:Main Page
Here is a link to a page on the Fedora wiki with description: Fedora Project main page
italic text
bold text
Bulleted list:
- Red
- Blue
- Green
Numbered list:
- January
- February
- March
Various compond lists:
- Seneca@York
- School of Computer Studies
- School of Communication Arts
- School of Biochemistry
- Newnham
- School of Brocolli Slicing
- School of Fashionistas
- School of Marshmallow Roasting
Contents
Top Heading
Subheading
Notice that the table-of-contents for this page (above) is automatically built from the sequence of headings and subheadings.
Here is some more text
Sub-sub heading
Foo bar baz
Code Blocks
Including a command or filepath
in a block of text.
A block of code:
#!/bin/bash for X in {1..10} do echo $X # Note that you can still use attributes such as bold in a code block done
Regular Tables
Column 1 Header | Column 2 Header |
---|---|
Row 1 Column 1 | Row 1 Column 2 |
Row 2 Column 1 | Row 2 Column 2 |
Row 3 - Spanning both columns |
Table example: Calendar
May 2010 | ||||||
---|---|---|---|---|---|---|
Su | Mo | Tu | We | Th | Fr | Sa |
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 - Victoria Day | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Collapsable Tables
See http://meta.wikimedia.org/wiki/Help:Collapsing for information on setting up collapsible tables like this (use the show/hide link to show or hide the contents):
Always displayed header |
---|
Optionally displayed text Optionally displayed text Optionally displayed text Optionally displayed text Optionally displayed text!!!!! Optionally displayed text |