The pygame wiki includes all the typical wiki syntax via HTML.
code | result |
---|---|
italics | italics |
bold | bold |
underline | underline |
| |
monospaced | monospaced |
for any wiki or web link
link
or for any wiki link -- with automatic title substitution
[[link]]
wiki links may contain [a-zA-Z0-9_-\.]+
if the link contains a period it is assumed to be a file. if the link contains .jpg, .jpeg, .gif, or .png it is assumed to be an image.
code | result |
---|---|
| heading 1 |
| heading 2 |
| heading 3 |
| heading 4 |
| heading 5 |
typically, you should not use h1, as it is reserved for the title of the page which is printed automatically.
a basic image
an image that will be automatically resized
images will be displayed, as well as link to a page where the full sized image can be viewed and edited. images must be named .jpg, .jpeg, .gif, .png for the wiki to acknowledge them as images
to link to a file, create a link
file
for files to be recognized as files, they must contain a . within their name.
code | result |
---|---|
|
|
|
|
code | result | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
|
code | result |
---|---|
<pre><code> x = [1,2,3] print x </code></pre> |
|
a special feature included in the pygame wiki is the ability to grab a section of content from another wiki page.
NOTE: currently broken. https://github.com/pygame/pygameweb/issues/32code | result |
---|---|
{{syntax}} | {{syntax}} |
{{syntax#test}} | {{syntax#test}} |
this is just a test section to demo a section grabber.
go here to try things out.