Wiki Code Cookbook: Difference between revisions

From Portland NET Wiki
Line 46: Line 46:
=== Elaborate highlights ===
=== Elaborate highlights ===
Highlighting text in a color other than yellow can be done, but it's a pain in the ass. Still, if you gotta have that ''je ne sais quoi,'' there is a way to do it by marking it up with a <nowiki><span>. For example: </nowiki>
Highlighting text in a color other than yellow can be done, but it's a pain in the ass. Still, if you gotta have that ''je ne sais quoi,'' there is a way to do it by marking it up with a <nowiki><span>. For example: </nowiki>
<span style="background:black; color:white">'''All PBEM employees must stop crying before returning to work.'''</span>
<span style="background:black; color:white">'''All PBEM employees must stop crying before returning to work.'''</span>
<pre>
<pre>
<span style="background:black; color:white">'''All PBEM employees must stop crying before returning to work.'''</span>
<span style="background:black; color:white">'''All PBEM employees must stop crying before returning to work.'''</span>
</pre>
</pre>