Difference between revisions of "mediawiki escape wiki markup"

From thelinuxwiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
<p>To prevent mediawiki from rendering a section to wiki markup, put text between <nowiki></nowiki> tags.  This is expecially useful pages like this one which attempt to explain mediawiki syntax.</p>
 
   
 
   
 
  <nowiki><nowiki> [http://www.example.com link text] </nowiki></nowiki>
 
  <nowiki><nowiki> [http://www.example.com link text] </nowiki></nowiki>
Line 9: Line 10:
  
 
  [http://www.example.com link text]
 
  [http://www.example.com link text]
 +
 +
[[category:mediawiki]]

Latest revision as of 13:24, 24 May 2013

To prevent mediawiki from rendering a section to wiki markup, put text between tags. This is expecially useful pages like this one which attempt to explain mediawiki syntax.

<nowiki> [http://www.example.com link text] </nowiki>

renders...

 [http://www.example.com link text] 

without escaping...

link text