Changes

Wiki Program Playground

391 bytes added, 18:09, 13 January 2015
/* Alternative Syntax */
The image above was produced with the following markup:
<code><nowikisyntaxhighlight lang="text">[[File:Cropped-Lab-Fall-2014-799.jpg|700px|border|Pictured are UC Davis Griesemer/Millstein Philosophy of Biology members.]]</nowiki></codesyntaxhighlight>
== Adding YouTube Videos ==
Embedding YouTube videos into pages is straightforward. Just use the following format:
<code><nowikisyntaxhighlight lang="text"><embedvideo service="youtube">https://www.youtube.com/[rest of url here]</embedvideo></nowiki></codesyntaxhighlight>
Other examples are [http://www.mediawiki.org/wiki/Extension:EmbedVideo#Examples here].
<embedvideo service="youtube">https://www.youtube.com/watch?v=lklTdctDdIo</embedvideo>
== Markup Alternative Syntax ==
Still not sure the best way to show <syntaxhighlight lang="wiki markup.">
<source lang="text">This is a headecho 'Hello, world!'</source>==============
 This is too----------- - one - two- three * list of items** with others</syntaxhighlight> <syntaxhighlight lang="textc">What about thislocation=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>