core-jgi/fitnesse/FitNesseRoot/FitNesse/UserGuide/MarkupLiteralText/content.txt

19 lines
817 B
Plaintext

Sometimes you want to show a !-WikiWord-! without having it turn into a link. Or sometimes you might want to show some wiki markup text such as !-'''bold'''-! without having the markup take effect. To do this you use the ''literal'' markup text.
Any text enclosed in '''!-!--!''' and '''-!''' will be treated as a literal and will not be processed for wiki words or other markup widgets. This is also a "cool" way to add HTML to a wiki page.
|!c '''Markup Text'''|!c '''Displays as'''|
|!-!-WikiWord-!-!|!-WikiWord-!|
|!-!-'''bold'''-!-!|!-'''bold'''-!|
|!-!-&lt;i&gt;hello&lt;/i&gt;-!-!|!-<i>hello</i>-!|
If you want to show HTML rather than have it rendered you can surround it in &bang;< and >&bang;
|!c '''Markup Text'''|!c '''Displays as'''|
|&bang;<<i>hello</i>>&bang;|!-&lt;i&gt;hello&lt;/i&gt;-!|