Editing Wiki Program Playground

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 17: Line 17:
 
The image above was produced with the following markup:
 
The image above was produced with the following markup:
  
<syntaxhighlight lang="text">
+
<code><nowiki>[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></code>
[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are  
+
UC Davis Griesemer/Millstein Philosophy of Biology members.]]
+
</syntaxhighlight>
+
  
 
== Adding YouTube Videos ==
 
== Adding YouTube Videos ==
Line 26: Line 23:
 
Embedding YouTube videos into pages is straightforward. Just use the following format:
 
Embedding YouTube videos into pages is straightforward. Just use the following format:
  
<syntaxhighlight lang="text">
+
<code><nowiki><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></code>
<embedvideo service="youtube">https://www.youtube.com/[rest of  
+
url here]</embedvideo>
+
</syntaxhighlight>
+
  
 
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
 
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
Line 35: Line 29:
 
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo>
 
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo>
  
== Alternative Syntax ==
+
== Markup ==
  
<syntaxhighlight lang="wiki">
+
Still not sure the best way to show wiki markup.
  
This is a head
+
<source lang="text">
==============
+
echo 'Hello, world!'
 +
</source>
  
 
+
<syntaxhighlight lang="text">
This is too
+
What about this
-----------
+
 
+
- one
+
- two
+
- three
+
 
+
* list of items
+
** with others
+
</syntaxhighlight>
+
 
+
<syntaxhighlight lang="c">
+
location=world              # store "world" in the variable "location"
+
echo "Hello, ${location}!"  # print "Hello, world!"
+
</syntaxhighlight>
+
 
+
<syntaxhighlight lang="bash">
+
location=world              # store "world" in the variable "location"
+
echo "Hello, ${location}!"  # print "Hello, world!"
+
 
</syntaxhighlight>
 
</syntaxhighlight>

Please note that all contributions to Philosophy of Biology Graduate Programs are considered to be released under the a Creative Commons Attribution 4.0 International License (see Philosophy of Biology Graduate Programs:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)